Branch: Tag:

2017-01-02

2017-01-02 13:55:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Build: Fixed warnings from STATIC_ASSUME().

Fixes warnings like "empty body in an if-statement" with
compilers without __builtin_unreachable() and __builtin_assume().

245:   #ifdef HAS___BUILTIN_ASSUME   # define STATIC_ASSUME(X) __builtin_assume(X)   #else - # define STATIC_ASSUME(X) do { if (!(X)) UNREACHABLE(); } while(0) + # define STATIC_ASSUME(X) do { if (!(X)) UNREACHABLE(0); } while(0)   #endif      #ifndef HAVE_WORKING_REALLOC_NULL