Skip to content

Commit 2a94efc

Browse files
committed
fix warning : result of comparison of constant 128
with expression of type 'const char' is always true [-Wtautological-constant-out-of-range-compare]
1 parent 18249d9 commit 2a94efc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Modules/getpath.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,6 @@ env_to_dict(PyObject *dict, const char *key, int and_clear)
690690
// Quick convert to wchar_t, since we know key is ASCII
691691
wchar_t *wp = wkey;
692692
for (const char *p = &key[4]; *p; ++p) {
693-
assert(*p < 128);
694693
*wp++ = *p;
695694
}
696695
*wp = L'\0';

0 commit comments

Comments
 (0)