packet-gsm_sim.c was the wrong file to check in.
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 7 Feb 2012 09:06:44 +0000 (09:06 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 7 Feb 2012 09:06:44 +0000 (09:06 +0000)
I meant ui/gtk/voip_calls_dlg.c.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40915 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-gsm_sim.c
ui/gtk/voip_calls_dlg.c

index 9e605b839235e681658e99da10cc48173f9a261e..a8ac4a4b3f7d8a705c687dff65c661718556649c 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for packet dissection of GSM SIM APDUs (GSM TS 11.11)
  *
  *     GSM TS 11.11 / 3GPP TS 51.011
- *     3GPP TS 31.102
+ *     3GPP TS 31.102
  * Copyright 2010-2011 by Harald Welte <laforge@gnumonks.org>
  *
  * $Id$
@@ -785,7 +785,6 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                /* FIXME: properly follow BER coding rules */
                tag = tvb_get_guint8(tvb, pos++);
-/* FIXME: what happens if len = 0? */
                len = tvb_get_guint8(tvb, pos++);
 
                subtvb = tvb_new_subset(tvb, pos, len, len);
@@ -800,9 +799,9 @@ dissect_bertlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 }
 
 
-#define P1_OFFS                0
-#define P2_OFFS                1
-#define P3_OFFS                2
+#define P1_OFFS        0
+#define P2_OFFS        1
+#define P3_OFFS        2
 #define DATA_OFFS      3
 
 static int
index 93340f8a72bdd3da9749afe19a591f41ef3f9362..75b941b3cccbf15624b4ec794d2cff7e95e50065 100644 (file)
@@ -763,11 +763,11 @@ voip_calls_dlg_create(void)
 void
 voip_calls_dlg_update(GList *listx)
 {
-       GtkTreeView       *list_view;
+       /* GtkTreeView       *list_view; */
        GtkTreeSortable   *sortable;
        gchar label_text[256];
 
-       list_view = GTK_TREE_VIEW(list);
+       /* list_view = GTK_TREE_VIEW(list); */
        sortable = GTK_TREE_SORTABLE(list_store);
        if (voip_calls_dlg != NULL) {
                calls_nb = 0;