From 047c8af10a467c9e96bb85af9edcad6db942892b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 25 Apr 2004 21:46:19 +0000 Subject: Squelch a compiler warning. svn path=/trunk/; revision=10700 --- gtk/print_dlg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gtk/print_dlg.c') diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index 20ecc9b9a7..1ec0844429 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -1,7 +1,7 @@ /* print_dlg.c * Dialog boxes for printing * - * $Id: print_dlg.c,v 1.74 2004/04/25 16:04:13 ulfl Exp $ + * $Id: print_dlg.c,v 1.75 2004/04/25 21:46:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -506,7 +506,8 @@ open_print_dialog(char *title, output_action_e action, print_args_t *args) printer_lb = gtk_label_new("... export as Packet Details Markup Language (XML) file."); break; default: - g_assert_not_reached(); + g_assert_not_reached(); + printer_lb = NULL; /* squelch compiler complaint */ } if(printer_lb) { gtk_box_pack_start(GTK_BOX(printer_vb), printer_lb, FALSE, FALSE, 0); -- cgit v1.2.3