]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Work around gcc warning
authorMichael Schroeder <mls@suse.de>
Fri, 6 May 2016 10:01:42 +0000 (12:01 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 6 May 2016 10:01:42 +0000 (12:01 +0200)
src/selection.c

index 34e08a9adc4f67c99fbec6e64577deb5e95a859a..6b89ab0ede9659cf9682ec0e9e4b0c8c58118e66 100644 (file)
@@ -923,7 +923,7 @@ matchdep(Pool *pool, Id id, char *rname, int rflags, char *revr, int flags)
 int
 selection_make_matchdeps(Pool *pool, Queue *selection, const char *name, int flags, int keyname, int marker)
 {
-  char *rname, *r;
+  char *rname, *r = 0;
   int rflags = 0;
   Id p;
   Queue q;