]> sjero.net Git - wget/blobdiff - src/url.c
[svn] Commit "minor fixes".
[wget] / src / url.c
index 2b6573a900de51e9456406991d89147c42a2145d..5095c444e900ef312ac7c01618a6827bc7522ce6 100644 (file)
--- a/src/url.c
+++ b/src/url.c
@@ -1395,7 +1395,8 @@ construct (const char *url, const char *sub, int subsize, int no_proto)
             "/qux/xyzzy", our result should be
             "http://host/qux/xyzzy".  */
          int span;
-         const char *slash, *start_insert;
+         const char *slash;
+         const char *start_insert = NULL; /* for gcc to shut up. */
          const char *pos = url;
          int seen_slash_slash = 0;
          /* We're looking for the first slash, but want to ignore