diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2021-06-18 19:21:42 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-06-19 01:23:31 +0000 |
commit | 0e50979b3f45250ee1dacd5c826a281ad9a9c460 (patch) | |
tree | cfaf2f2221f9ebd948fab14b180cd3219dcc3523 /ui/commandline.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'ui/commandline.c')
-rw-r--r-- | ui/commandline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/commandline.c b/ui/commandline.c index 3972711231..96135f4472 100644 --- a/ui/commandline.c +++ b/ui/commandline.c @@ -35,6 +35,7 @@ #include <ui/cmdarg_err.h> #include <ui/exit_codes.h> #include <wsutil/filesystem.h> +#include <wsutil/ws_assert.h> #include <epan/ex-opt.h> #include <epan/packet.h> @@ -521,7 +522,7 @@ void commandline_other_options(int argc, char *argv[], gboolean opt_reset) exit_application(1); break; default: - g_assert_not_reached(); + ws_assert_not_reached(); } break; case PREFS_SET_OBSOLETE: @@ -530,7 +531,7 @@ void commandline_other_options(int argc, char *argv[], gboolean opt_reset) exit_application(1); break; default: - g_assert_not_reached(); + ws_assert_not_reached(); } break; } |