]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- 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 0beefcdf3b40ed591c846bae120cebcda78aab1e..cbca442e1682c301155ae4c4e9e4d250e7ff1ea1 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;