Skip to content

Commit 6fefc0e

Browse files
committed
cryptsetup: fix unitialized variable
CID #1368416. Coverity web interface is back, yay!
1 parent 42d7687 commit 6fefc0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cryptsetup/cryptsetup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ int main(int argc, char *argv[]) {
750750

751751
} else {
752752
log_error("Unknown verb %s.", argv[1]);
753+
r = -EINVAL;
753754
goto finish;
754755
}
755756

0 commit comments

Comments
 (0)