aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-05-05 11:07:22 +0000
committerGuy Harris <guy@alum.mit.edu>2005-05-05 11:07:22 +0000
commitaa36cca7d81dff31e22266da86dd8d42207818cc (patch)
tree49417cbd1e7063f8f219628faa9eeccf055753f9 /gtk/voip_calls.c
parent4a229a099cded40fd96346e91a53d87fb12f62b6 (diff)
Don't explicitly initialize "h245_labels", as it's hard to initialize
all of it correctly, and as if you don't initialize all of it you get a compiler warning. Add an assignment to squelch a compiler warning. svn path=/trunk/; revision=14317
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r--gtk/voip_calls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index 09ff0699f3..4452fc2862 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -93,7 +93,7 @@ typedef struct {
graph_str labels[H245_MAX];
} h245_labels_t;
-static h245_labels_t h245_labels = {0, 0};
+static h245_labels_t h245_labels;
/****************************************************************************/
/* the one and only global voip_calls_tapinfo_t structure */
@@ -1150,6 +1150,7 @@ q931_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, co
/* add staff to H323 calls */
if (h225_frame_num == q931_frame_num) {
+ tmp_h323info = NULL;
list = g_list_first(tapinfo->strinfo_list);
while (list)
{