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 /fileset.c | |
parent | b4eddd32c18816b7b5f9e074b88559d88f28123c (diff) |
Replace g_assert() with ws_assert()
Diffstat (limited to 'fileset.c')
-rw-r--r-- | fileset.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -21,6 +21,7 @@ #include <wsutil/file_util.h> #include <wsutil/filesystem.h> +#include <wsutil/ws_assert.h> #include <epan/strutil.h> @@ -124,8 +125,8 @@ fileset_is_file_in_set(const char *fname1, const char *fname2) /* just to be sure ... */ - g_assert(fileset_filename_match_pattern(fname1)); - g_assert(fileset_filename_match_pattern(fname2)); + ws_assert(fileset_filename_match_pattern(fname1)); + ws_assert(fileset_filename_match_pattern(fname2)); dup_f1 = g_strdup(fname1); dup_f2 = g_strdup(fname2); |