Skip to content

Commit

Permalink
gh-109469: Silence compiler warnings on string comparisons in _testca…
Browse files Browse the repository at this point in the history
…pi (GH-109533)
  • Loading branch information
serhiy-storchaka authored and pull[bot] committed Dec 5, 2023
1 parent 5f522ec commit 1e0856a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/_testcapi/util.h
Expand Up @@ -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. */
Expand Down

0 comments on commit 1e0856a

Please sign in to comment.