From b137145a92ae4ef03c37520a59177587c20751ff Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 7 Mar 2021 20:00:15 +0100 Subject: [PATCH] alsactl: fix the compiler warning (uninitialized variable res) Signed-off-by: Jaroslav Kysela --- alsactl/alsactl.c | 1 + 1 file changed, 1 insertion(+) 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; } }