summaryrefslogtreecommitdiff
path: root/wsutil/nstime.h
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2017-06-23 18:09:38 -0400
committerMichael Mann <mmann78@netscape.net>2017-06-24 10:33:18 +0000
commitbb20b159f35455c41a8f077724f685508e0823b6 (patch)
tree885754b0a1f4b8407f2545cb133e85d934c8a601 /wsutil/nstime.h
parentd8710f4aa4e25753130b534b7b8a99601df472dd (diff)
downloadwireshark-bb20b159f35455c41a8f077724f685508e0823b6.tar.gz
addr_types: replace DISSECTOR_ASSERT() with g_assert()
DISSECTOR_ASSERT() can be used only when we're in wmem packet scope. It cannot be used during startup when address types are registered. In those cases, we must use g_assert(). If we still use DISSECTOR_ASSERT() and an assert is hit, we'll see a wmem assertion ** ERROR:../epan/wmem/wmem_core.c:52:wmem_alloc: assertion failed: (allocator->in_scope) Aborted instead of the actual assert output. Change-Id: Ife12ca3455d56ba4faa2dd6034df8a091d8641ed Reviewed-on: https://code.wireshark.org/review/22378 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wsutil/nstime.h')
0 files changed, 0 insertions, 0 deletions