diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-20 00:47:23 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-20 00:47:23 +0000 |
commit | 6c08c2c43a4064a93887a312f16c068813c9fa3b (patch) | |
tree | 7bdb8941693756b2932e207527f556196a75c428 /epan/dissectors/packet-etch.c | |
parent | 9787a5734a75c813891ea1eba9ef8998e91ad9b2 (diff) |
Use DISSECTOR_ASSERT (not g_assert) in dissectors...
svn path=/trunk/; revision=34577
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r-- | epan/dissectors/packet-etch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c index dffa624a5f..f3b93a0e7c 100644 --- a/epan/dissectors/packet-etch.c +++ b/epan/dissectors/packet-etch.c @@ -180,7 +180,7 @@ static value_string_ext *gbl_symbols_vs_ext = NULL; static void gbl_symbols_new(void) { - g_assert(gbl_symbols_array == NULL); + DISSECTOR_ASSERT(gbl_symbols_array == NULL); gbl_symbols_array = g_array_new(TRUE, TRUE, sizeof(value_string)); } @@ -204,7 +204,7 @@ gbl_symbols_free(void) { static void gbl_symbols_array_append(int hash, gchar *symbol) { value_string vs = {hash, symbol}; - g_assert(gbl_symbols_array != NULL); + DISSECTOR_ASSERT(gbl_symbols_array != NULL); g_array_append_val(gbl_symbols_array, vs); } @@ -224,8 +224,8 @@ gbl_symbols_compare_vs(gconstpointer a, gconstpointer b) static void gbl_symbols_vs_ext_new(void) { - g_assert(gbl_symbols_vs_ext == NULL); - g_assert(gbl_symbols_array != NULL); + DISSECTOR_ASSERT(gbl_symbols_vs_ext == NULL); + DISSECTOR_ASSERT(gbl_symbols_array != NULL); g_array_sort(gbl_symbols_array, gbl_symbols_compare_vs); gbl_symbols_vs_ext = value_string_ext_new((value_string *)gbl_symbols_array->data, gbl_symbols_array->len+1, |