From 6fefc0eded00974e5b2862bd5efc7ef975c6a318 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 15 Jan 2017 11:51:48 -0500 Subject: cryptsetup: fix unitialized variable CID #1368416. Coverity web interface is back, yay! --- src/cryptsetup/cryptsetup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cryptsetup') diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index bff5664f0f..cefd1b85df 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -750,6 +750,7 @@ int main(int argc, char *argv[]) { } else { log_error("Unknown verb %s.", argv[1]); + r = -EINVAL; goto finish; } -- cgit v1.2.3-54-g00ecf