summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-15 11:51:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-01-15 11:52:53 -0500
commit6fefc0eded00974e5b2862bd5efc7ef975c6a318 (patch)
treec90ae210ffffb8e6c39c8acf086cdfd39716a36d /src
parent42d768790c419debf0fa9b244676268b5f4ec7c8 (diff)
cryptsetup: fix unitialized variable
CID #1368416. Coverity web interface is back, yay!
Diffstat (limited to 'src')
-rw-r--r--src/cryptsetup/cryptsetup.c1
1 files changed, 1 insertions, 0 deletions
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;
}