mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 19:46:31 +01:00
alsamixer - Fix uninitialized variable warning
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f974abdd2e
commit
b8f567461e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue