Browse Source

missing 'FALLTHRU' added to sort out error messages when using "-Werror=implicit-fallthrough" flag

tags/json-c-0.17-20230812
An7ar35 3 years ago
parent
commit
5d00384e0d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apps/json_parse.c

+ 1
- 1
apps/json_parse.c View File

@@ -167,7 +167,7 @@ int main(int argc, char **argv)
case 'f': formatted_output = 1; break;
case 'n': show_output = 0; break;
case 's': strict_mode = 1; break;
case 'h': usage(argv[0], 0, NULL);
case 'h': usage(argv[0], 0, NULL); /* FALLTHRU */
default: /* '?' */ usage(argv[0], EXIT_FAILURE, "Unknown arguments");
}
}


Loading…
Cancel
Save