mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 05:26:30 +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;
|
return NULL;
|
||||||
}
|
}
|
||||||
*file_size = 0;
|
*file_size = 0;
|
||||||
|
buf = NULL;
|
||||||
do {
|
do {
|
||||||
allocated *= 2;
|
allocated *= 2;
|
||||||
buf = crealloc(buf, allocated);
|
buf = crealloc(buf, allocated);
|
||||||
|
|
Loading…
Reference in a new issue