From: Jaroslav Kysela Date: Sun, 7 Mar 2021 19:00:15 +0000 (+0100) Subject: alsactl: fix the compiler warning (uninitialized variable res) X-Git-Tag: v1.2.5~67 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b137145a92ae4ef03c37520a59177587c20751ff;p=alsa-utils.git alsactl: fix the compiler warning (uninitialized variable res) Signed-off-by: Jaroslav Kysela --- diff --git a/alsactl/alsactl.c b/alsactl/alsactl.c index 1d2ff3e..3a6f79d 100644 --- a/alsactl/alsactl.c +++ b/alsactl/alsactl.c @@ -401,6 +401,7 @@ int main(int argc, char *argv[]) use_syslog = 1; if (daemon(0, 0)) { syslog(LOG_INFO, "alsactl " SND_UTIL_VERSION_STR " daemon cannot be started: %s", strerror(errno)); + res = EXIT_FAILURE; goto out; } }