fix compiler warning about uninitialized var
authorKlaus Kämpf <kkaempf@suse.de>
Thu, 3 Feb 2011 14:35:39 +0000 (15:35 +0100)
committerKlaus Kämpf <kkaempf@suse.de>
Thu, 3 Feb 2011 14:35:39 +0000 (15:35 +0100)
ext/repo_write.c

index 68c022c..303c0fd 100644 (file)
@@ -1018,7 +1018,7 @@ repo_write(Repo *repo, FILE *fp, int (*keyfilter)(Repo *repo, Repokey *key, void
   int ndirmap;
   Id *keyused;
   unsigned char *repodataused;
-  int anyrepodataused;
+  int anyrepodataused = 0;
   
   struct cbdata cbdata;
   int needrels;