]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
more of these init variables
authorStephan Kulow <coolo@suse.de>
Sat, 5 Apr 2008 08:08:01 +0000 (08:08 +0000)
committerStephan Kulow <coolo@suse.de>
Sat, 5 Apr 2008 08:08:01 +0000 (08:08 +0000)
tools/repo_updateinfoxml.c

index 1100ecf746188521e6f78d5c5549c0ebfd6d2dd3..a1194ffc49b532cbcd226f03c523faa5612ffa6d 100644 (file)
@@ -293,7 +293,7 @@ startElement(void *userData, const char *name, const char **atts)
       */
       case STATE_ISSUED:
       {
-       const char *date;
+       const char *date = 0;
        for (; *atts; atts += 2)
        {
          if (!strcmp(*atts, "date"))
@@ -330,7 +330,7 @@ startElement(void *userData, const char *name, const char **atts)
        */
       case STATE_PACKAGE:
       {
-       const char *arch, *name, *src;
+       const char *arch = 0, *name = 0, *src = 0;
        Id evr = makeevr_atts(pool, pd, atts); /* parse "epoch", "version", "release" */
        Id n;
        Id rel_id;