]> git.ipfire.org Git - thirdparty/systemd.git/commit
reply-password: initialize 'length' variable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Oct 2018 00:37:08 +0000 (09:37 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 23 Oct 2018 20:03:00 +0000 (05:03 +0900)
commitfd5ad16cfba6ba9c607480efb428aa97dc2b875a
tree4660a4b55be1de20d405a2bbb78197b0308fee50
parentec9d636b370c5872f32b57ecfbb0d6b41a840902
reply-password: initialize 'length' variable

Follow-up for 1fd2786161feba4276a81c3468cfbfb118f56517.

This fixes the following warning when built by clang:
```
../src/reply-password/reply-password.c:76:21 warning: variable 'length' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
```

Fixes CID#1396281 and CID#1396277.
src/reply-password/reply-password.c