mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 03:06:30 +01:00
alsactl: fix the compiler warning (uninitialized variable res)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c1474594dc
commit
b137145a92
1 changed files with 1 additions and 0 deletions
|
@ -401,6 +401,7 @@ int main(int argc, char *argv[])
|
||||||
use_syslog = 1;
|
use_syslog = 1;
|
||||||
if (daemon(0, 0)) {
|
if (daemon(0, 0)) {
|
||||||
syslog(LOG_INFO, "alsactl " SND_UTIL_VERSION_STR " daemon cannot be started: %s", strerror(errno));
|
syslog(LOG_INFO, "alsactl " SND_UTIL_VERSION_STR " daemon cannot be started: %s", strerror(errno));
|
||||||
|
res = EXIT_FAILURE;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue