- make it compile
authorMichael Schroeder <mls@suse.de>
Tue, 21 Jul 2009 11:57:58 +0000 (13:57 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 21 Jul 2009 11:57:58 +0000 (13:57 +0200)
examples/solv.c

index 0beefcd..cbca442 100644 (file)
@@ -1808,7 +1808,8 @@ main(int argc, char **argv)
   Id p, pp;
   struct repoinfo *repoinfos;
   int nrepoinfos = 0;
-  int i, mainmode, mode, newpkgs;
+  int mainmode = 0, mode = 0;
+  int i, newpkgs;
   Queue job, checkq;
   Solver *solv = 0;
   Transaction *trans;