From 0a8b8c29d48b9c1e92e96a77234f5500d20c1bef Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 1 Dec 2016 14:24:39 +0100 Subject: Fix bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cg-brilliance.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cg-brilliance.c') diff --git a/src/cg-brilliance.c b/src/cg-brilliance.c index 0d5c930..1ad590d 100644 --- a/src/cg-brilliance.c +++ b/src/cg-brilliance.c @@ -149,9 +149,9 @@ static int parse_double(double* restrict out, const char* restrict str) */ int handle_args(int argc, char* argv[], char* prio) { - char* red; - char* green; - char* blue; + char* red = NULL; + char* green = NULL; + char* blue = NULL; int q = xflag + dflag; if ((q > 1) || (xflag && (prio != NULL || argc))) usage(); -- cgit v1.2.3-70-g09d2