src/lib/udc.c 1.19

1.19 2009/11/03 20:00:19 braney
initialize some variables
Index: src/lib/udc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/udc.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -B -U 4 -r1.18 -r1.19
--- src/lib/udc.c	3 Nov 2009 00:51:53 -0000	1.18
+++ src/lib/udc.c	3 Nov 2009 20:00:19 -0000	1.19
@@ -667,9 +667,9 @@
 if (cacheDir == NULL)
     cacheDir = udcDefaultDir();
 verbose(2, "udcfileOpen(%s, %s)\n", url, cacheDir);
 /* Parse out protocol.  Make it "transparent" if none specified. */
-char *protocol, *afterProtocol, *colon;
+char *protocol = NULL, *afterProtocol = NULL, *colon;
 boolean isTransparent = FALSE;
 udcParseUrl(url, &protocol, &afterProtocol, &colon);
 if (!colon)
     {