Commit b744df55 authored by Jim Meyering's avatar Jim Meyering
Browse files

[REG_UNSET_VALUE]: Define to the address of a static variable rather than to

((char *) -1).  The latter got a warning on IRIX64.
parent ef8fd672
......@@ -1251,7 +1251,8 @@ typedef union
/* Registers are set to a sentinel when they haven't yet matched. */
#define REG_UNSET_VALUE ((char *) -1)
static char reg_unset_dummy;
#define REG_UNSET_VALUE (&reg_unset_dummy)
#define REG_UNSET(e) ((e) == REG_UNSET_VALUE)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment