Skip to content

Commit 5c129d9

Browse files
committed
gh-106242: Minor fixup to avoid compiler warnings
1 parent ae5e111 commit 5c129d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/fileutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@ wchar_t *
21852185
_Py_normpath_and_size(wchar_t *path, Py_ssize_t size, Py_ssize_t *normsize)
21862186
{
21872187
assert(path != NULL);
2188-
if (!path[0] && size < 0 || size == 0) {
2188+
if ((size < 0 && !path[0]) || size == 0) {
21892189
*normsize = 0;
21902190
return path;
21912191
}

0 commit comments

Comments
 (0)