On 5/19/22 10:58, Dmitry Timoshkov wrote:
Nikolay Sivov nsivov@codeweavers.com wrote:
- if (FAILED(hres = to_system_time(args, &st))) return hres;
- return FAILED(hres) ? hres : return_short(res, 1 + (7 - first_day + st.wDayOfWeek) % 7); }
Last FAILED() seems to be redundant. And to_int() failure probably should be handled earlier, otherwise it seems to be lost.
Thank you.