From 742fad9251d48200ad291ee900dc89fdec01034b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 2 May 2012 11:38:54 +0200 Subject: [PATCH] Fix uninitialized vars in deplist parsing. --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.c b/parse.c index b570399..abef361 100644 --- a/parse.c +++ b/parse.c @@ -185,7 +185,7 @@ parse_deplist(pkg_t *pkg, const char *depends) char *start = buf; char *ptr = buf; char *vstart = NULL; - char *package, *version; + char *package = NULL, *version = NULL; strlcpy(buf, kvdepends, sizeof buf); strlcat(buf, " ", sizeof buf);