aboutsummaryrefslogtreecommitdiffstats
path: root/ethertype.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1998-10-16 06:46:16 +0000
committerGuy Harris <guy@alum.mit.edu>1998-10-16 06:46:16 +0000
commitc667a0d82bfc56806463ce31292052f0e698609b (patch)
tree1df5f810bbf28930966fccc9fb69a435b26df06e /ethertype.c
parent261e2cde3b4027932220cabf4ecea0b803ac09d2 (diff)
downloadwireshark-c667a0d82bfc56806463ce31292052f0e698609b.tar.gz
wireshark-c667a0d82bfc56806463ce31292052f0e698609b.tar.bz2
wireshark-c667a0d82bfc56806463ce31292052f0e698609b.zip
Get rid of unused "etype_str[]" array in "ethertype()".
svn path=/trunk/; revision=64
Diffstat (limited to 'ethertype.c')
-rw-r--r--ethertype.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ethertype.c b/ethertype.c
index e2c04c31e7..c1cc01f76b 100644
--- a/ethertype.c
+++ b/ethertype.c
@@ -2,7 +2,7 @@
* Routines for calling the right protocol for the ethertype.
* This is called by both packet-eth.c (Ethernet II) and packet-llc.c (SNAP)
*
- * $Id: ethertype.c,v 1.6 1998/10/16 01:18:28 gerald Exp $
+ * $Id: ethertype.c,v 1.7 1998/10/16 06:46:16 guy Exp $
*
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
@@ -49,8 +49,6 @@ ethertype(guint16 etype, int offset,
const u_char *pd, frame_data *fd, GtkTree *tree, GtkWidget
*fh_tree)
{
- gchar etype_str[][10] = {"IP", "ARP", "RARP", "AppleTalk", "AARP"};
-
switch (etype) {
case ETHERTYPE_IP:
if (tree) {