aboutsummaryrefslogtreecommitdiffstats
path: root/epan/emem.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-08 13:24:03 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-10-08 13:24:03 +0000
commit03310bb97d76bbf47a0b2c91ffb852aa22104387 (patch)
tree8f8153bef63e8c67a4d8a0138a6810792531f012 /epan/emem.c
parentf9fd9d4b66de8292854c143022bf1ac2a6b4e9aa (diff)
Remove debug g_warning()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30399 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/emem.c')
-rw-r--r--epan/emem.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/emem.c b/epan/emem.c
index 04c1f458bf..2c75a27de2 100644
--- a/epan/emem.c
+++ b/epan/emem.c
@@ -283,7 +283,6 @@ se_init_chunk(void)
se_debug_use_chunks = (gboolean) (!getenv("WIRESHARK_DEBUG_SE_NO_CHUNKS"));
se_debug_use_canary = (gboolean) (getenv("WIRESHARK_DEBUG_SE_USE_CANARY"));
- g_warning("se_debug_use_canary %u",se_debug_use_canary);
if (se_debug_use_canary)
emem_canary(se_canary);
@@ -538,7 +537,7 @@ emem_create_chunk(emem_chunk_t **free_list, gboolean use_canary) {
if(npc->buf == NULL) {
THROW(OutOfMemoryError);
}
-#ifdef SHOW_EMEM_STATS
+#ifdef SHOW_EMEM_STATS
total_no_chunks++;
#endif
buf_end = npc->buf + EMEM_PACKET_CHUNK_SIZE;
@@ -565,7 +564,7 @@ emem_create_chunk(emem_chunk_t **free_list, gboolean use_canary) {
THROW(OutOfMemoryError);
}
buf_end = npc->buf + EMEM_PACKET_CHUNK_SIZE;
-#ifdef SHOW_EMEM_STATS
+#ifdef SHOW_EMEM_STATS
total_no_chunks++;
#endif
/* Align our guard pages on page-sized boundaries */
@@ -586,7 +585,7 @@ emem_create_chunk(emem_chunk_t **free_list, gboolean use_canary) {
if(npc->buf == NULL) {
THROW(OutOfMemoryError);
}
-#ifdef SHOW_EMEM_STATS
+#ifdef SHOW_EMEM_STATS
total_no_chunks++;
#endif
npc->amount_free_init = EMEM_PACKET_CHUNK_SIZE;