Squelch some compiler complaints.

svn path=/trunk/; revision=7682
This commit is contained in:
Guy Harris 2003-05-16 00:48:26 +00:00
parent 11a979dd4c
commit 2689d287d4
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/* main.c
*
* $Id: main.c,v 1.294 2003/05/15 13:38:05 deniel Exp $
* $Id: main.c,v 1.295 2003/05/16 00:48:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -1296,7 +1296,7 @@ set_autostop_criterion(const char *autostoparg)
static gboolean
get_ring_arguments(const char *arg)
{
guchar *p, *colonp;
guchar *p = NULL, *colonp;
colonp = strchr(arg, ':');

View File

@ -1,6 +1,6 @@
/* tethereal.c
*
* $Id: tethereal.c,v 1.184 2003/05/15 13:33:53 deniel Exp $
* $Id: tethereal.c,v 1.185 2003/05/16 00:48:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -331,7 +331,7 @@ set_autostop_criterion(const char *autostoparg)
static gboolean
get_ring_arguments(const char *arg)
{
guchar *p, *colonp;
guchar *p = NULL, *colonp;
colonp = strchr(arg, ':');