mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-109469: Silence compiler warnings on string comparisons in _testcapi (GH-109533)
This commit is contained in:
parent
beb5ec5817
commit
ed582a2ed9
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@
|
|||
} while (0)
|
||||
|
||||
/* Marker to check that pointer value was set. */
|
||||
#define UNINITIALIZED_PTR ((void *)"uninitialized")
|
||||
static const char uninitialized[] = "uninitialized";
|
||||
#define UNINITIALIZED_PTR ((void *)uninitialized)
|
||||
/* Marker to check that Py_ssize_t value was set. */
|
||||
#define UNINITIALIZED_SIZE ((Py_ssize_t)236892191)
|
||||
/* Marker to check that integer value was set. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue