2015-09-27
2015-09-27 04:26:33 by Martin Nilsson <nilsson@fastmail.com>
-
9282fd6f311202493faa2884284af642ee784ac7
(6 lines)
(+3/-3)
[
Show
| Annotate
]
Branch: 8.1
Start using __builtin_unreachable
989:
Pike_fatal("Unknown string width!\n");
#endif
}
- /* NOT REACHED */
- return NULL; /* Keep the compiler happy */
+ UNREACHABLE(return NULL);
}
PMOD_EXPORT struct pike_string * debug_make_shared_pcharp(const PCHARP str)
3220: Inside #if defined(PIKE_DEBUG)
#ifdef PIKE_DEBUG
Pike_fatal("Illegal shift in MEMCHR_PCHARP.\n");
#endif
- return MKPCHARP(0,0); /* make wcc happy */
+ UNREACHABLE(MKPCHARP(0,0));
}
#define DIGIT(x) (WIDE_ISDIGIT(x) ? (x) - '0' : \