diff options
author | Sami Kerola | 2015-08-04 23:46:26 +0200 |
---|---|---|
committer | Sami Kerola | 2015-08-08 08:46:39 +0200 |
commit | ee24ab6f1e7d50e19d98ccb1850e8ec1364a7334 (patch) | |
tree | 940c523aa47bcfbb63d7fb2253c9b7400fe19a3c /sys-utils/fstrim.c | |
parent | tools: stop checkmans.sh validating libtool builds (diff) | |
download | kernel-qcow2-util-linux-ee24ab6f1e7d50e19d98ccb1850e8ec1364a7334.tar.gz kernel-qcow2-util-linux-ee24ab6f1e7d50e19d98ccb1850e8ec1364a7334.tar.xz kernel-qcow2-util-linux-ee24ab6f1e7d50e19d98ccb1850e8ec1364a7334.zip |
misc: fix redundant assignment and reassignments before use [cppcheck]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/fstrim.c')
-rw-r--r-- | sys-utils/fstrim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/fstrim.c b/sys-utils/fstrim.c index c91141e27..6bbf1c99f 100644 --- a/sys-utils/fstrim.c +++ b/sys-utils/fstrim.c @@ -60,7 +60,7 @@ struct fstrim_range { static int fstrim_filesystem(const char *path, struct fstrim_range *rangetpl, int verbose) { - int fd = -1, rc; + int fd, rc; struct stat sb; struct fstrim_range range; |