aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-string.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2021-06-18 19:21:42 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-06-19 01:23:31 +0000
commit0e50979b3f45250ee1dacd5c826a281ad9a9c460 (patch)
treecfaf2f2221f9ebd948fab14b180cd3219dcc3523 /epan/ftypes/ftype-string.c
parentb4eddd32c18816b7b5f9e074b88559d88f28123c (diff)
Replace g_assert() with ws_assert()
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r--epan/ftypes/ftype-string.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c
index 9e37fb8b67..3ab7740cb5 100644
--- a/epan/ftypes/ftype-string.c
+++ b/epan/ftypes/ftype-string.c
@@ -15,6 +15,7 @@
#define CMP_MATCHES cmp_matches
#include <strutil.h>
+#include <wsutil/ws_assert.h>
static void
string_fvalue_new(fvalue_t *fv)
@@ -49,7 +50,7 @@ string_repr_len(fvalue_t *fv, ftrepr_t rtype, int field_display _U_)
case FTREPR_DFILTER:
return escape_string_len(fv->value.string);
}
- g_assert_not_reached();
+ ws_assert_not_reached();
return -1;
}
@@ -65,7 +66,7 @@ string_to_repr(fvalue_t *fv, ftrepr_t rtype, int field_display _U_, char *buf, u
escape_string(buf, fv->value.string);
return;
}
- g_assert_not_reached();
+ ws_assert_not_reached();
}