From: Michael Schroeder Date: Fri, 6 May 2016 10:01:42 +0000 (+0200) Subject: Work around gcc warning X-Git-Tag: 0.6.21~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dec80d0bd5a49b554203efd3b866088f784f03b5;p=thirdparty%2Flibsolv.git Work around gcc warning --- diff --git a/src/selection.c b/src/selection.c index 34e08a9a..6b89ab0e 100644 --- a/src/selection.c +++ b/src/selection.c @@ -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;