diff options
Diffstat (limited to 'grab.c')
-rw-r--r-- | grab.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -16,12 +16,6 @@ # error "REG_STARTEND not defined" #endif -#ifdef __GNUC__ -# define unreachable() __builtin_unreachable() -#else -# define unreachable() -#endif - #define die(...) err(EXIT_FAILURE, __VA_ARGS__); #define diex(...) errx(EXIT_FAILURE, __VA_ARGS__); #define warn(...) \ @@ -107,9 +101,8 @@ main(int argc, char **argv) while ((opt = getopt(argc, argv, "hz")) != -1) { switch (opt) { case 'h': - if (execlp("man", "man", "1", argv[0], NULL) == -1) - die("execlp: man 1 %s", argv[0]); - unreachable(); + execlp("man", "man", "1", argv[0], NULL); + die("execlp: man 1 %s", argv[0]); case 'z': delim = '\0'; break; |