Mark `help' and `version' functions as not returning.
[disorder] / server / decode.c
index 8a09013..1b2ed41 100644 (file)
@@ -95,7 +95,7 @@ static const struct option options[] = {
 };
 
 /* Display usage message and terminate. */
-static void help(void) {
+static void attribute((noreturn)) help(void) {
   xprintf("Usage:\n"
          "  disorder-decode [OPTIONS] PATH\n"
          "Options:\n"