aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-12-19 01:08:21 +0000
committerEvan Huus <eapache@gmail.com>2012-12-19 01:08:21 +0000
commit77d69b36b208dff05f91cc23d0e1247036c4a03d (patch)
treeece97d72c34b72d6a180ed05c118b8e8df3fe536 /epan/wmem
parent03af5455c70b7d9ba69d80a5d68709b38760017e (diff)
Try to fix windows builds - MSVC doesn't like g_assert_not_reached() ?
svn path=/trunk/; revision=46606
Diffstat (limited to 'epan/wmem')
-rw-r--r--epan/wmem/wmem_core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/wmem/wmem_core.c b/epan/wmem/wmem_core.c
index 9946c70a53..4fba760035 100644
--- a/epan/wmem/wmem_core.c
+++ b/epan/wmem/wmem_core.c
@@ -81,6 +81,9 @@ wmem_allocator_new(const wmem_allocator_type_t type)
default:
g_assert_not_reached();
};
+
+ /* This is doubly not-reachable, but MSVC gets confused otherwise... */
+ g_assert_not_reached();
}
void