Reduce source code in dirent_mbstowcs_s()
elfring opened this issue · 1 comments
elfring commented
How do you think about to replace an if statement at the end of the function “dirent_mbstowcs_s” by the shorter statement “return (n > 0 && flag == 0) ? 0 : 1;
”?
tronkko commented
I generally prefer if statement. I think if statement is more readable and easier to understand.