From b8f567461efe84fac9722eeea196ab1110a19be1 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 27 May 2009 14:16:30 +0200 Subject: [PATCH] alsamixer - Fix uninitialized variable warning Signed-off-by: Takashi Iwai --- alsamixer/textbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/alsamixer/textbox.c b/alsamixer/textbox.c index 024aa73..7825c15 100644 --- a/alsamixer/textbox.c +++ b/alsamixer/textbox.c @@ -83,6 +83,7 @@ static char *read_file(const char *file_name, unsigned int *file_size) return NULL; } *file_size = 0; + buf = NULL; do { allocated *= 2; buf = crealloc(buf, allocated);