aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-11 10:02:39 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-11 10:02:39 +0000
commit8e6ece35e687032e9ca692f9bc7f3d50801082be (patch)
tree7d8cd8a8e49803dfb73209b8fbd3940ced3bf1ea
parent40a74b1ff52d4f1223790465149a26898bbdd3f6 (diff)
#if 0 out test that causes an always false warning
svn path=/trunk/; revision=9644
-rw-r--r--gtk/ansi_map_stat.c4
-rw-r--r--gtk/isup_stat.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gtk/ansi_map_stat.c b/gtk/ansi_map_stat.c
index 87bd7212ac..de3f696bc3 100644
--- a/gtk/ansi_map_stat.c
+++ b/gtk/ansi_map_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: ansi_map_stat.c,v 1.9 2004/01/07 01:44:23 jmayer Exp $
+ * $Id: ansi_map_stat.c,v 1.10 2004/01/11 10:02:39 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -100,6 +100,7 @@ ansi_map_stat_packet(
tapdata = tapdata;
pinfo = pinfo;
+#if 0 /* always false because message_type is 8 bit value */
if (data_p->message_type >= N_MESSAGE_TYPES)
{
/*
@@ -107,6 +108,7 @@ ansi_map_stat_packet(
*/
return(0);
}
+#endif
stat.message_type[data_p->message_type]++;
diff --git a/gtk/isup_stat.c b/gtk/isup_stat.c
index 5c50e7ee06..4857d7eaa2 100644
--- a/gtk/isup_stat.c
+++ b/gtk/isup_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: isup_stat.c,v 1.9 2004/01/07 01:44:23 jmayer Exp $
+ * $Id: isup_stat.c,v 1.10 2004/01/11 10:02:39 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -101,6 +101,7 @@ isup_stat_packet(
tapdata = tapdata;
pinfo = pinfo;
+#if 0 /* always false because message_type is 8 bit value */
if (data_p->message_type >= N_MESSAGE_TYPES)
{
/*
@@ -108,6 +109,7 @@ isup_stat_packet(
*/
return(0);
}
+#endif
stat.message_type[data_p->message_type]++;