]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fstrim: initialize path variable
authorSami Kerola <kerolasa@iki.fi>
Sun, 26 Oct 2014 22:07:07 +0000 (22:07 +0000)
committerKarel Zak <kzak@redhat.com>
Fri, 31 Oct 2014 09:38:58 +0000 (10:38 +0100)
commitb35c37274c93745fd8d7a05d02a85fbde8110ab0
tree90215b2bb2eaad7836f9722a77a213912f20b9e3
parent5d36513976e30d4f38a52818b603526b1f8b164d
fstrim: initialize path variable

Reading the code this initialization is not necessary, so the change is
mostly about silencing a compiler warning and ensuring the program keeps
on working if there is a future bug that could make uninitialized 'path'
reachable to use.

sys-utils/fstrim.c:247: warning: 'path' may be used uninitialized in this
function

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/fstrim.c