aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/gbde
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-06-11 17:03:04 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-06-11 17:03:04 +0000
commit3ba5db25bbdd36d57ce08dfe9853ccf83a7b1e7a (patch)
treea9605490041198fbb2e6a33939ff2d45d6980bc1 /sbin/gbde
parentee4912eb07925d5602645d09aa41fb39f7909c24 (diff)
downloadsrc-3ba5db25bbdd36d57ce08dfe9853ccf83a7b1e7a.tar.gz
src-3ba5db25bbdd36d57ce08dfe9853ccf83a7b1e7a.zip
Remove dead variable assignments
Found by: clang static analyzer Verified by: md5(1)
Notes
Notes: svn path=/head/; revision=209052
Diffstat (limited to 'sbin/gbde')
-rw-r--r--sbin/gbde/gbde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/gbde/gbde.c b/sbin/gbde/gbde.c
index 0a1e740c4041..5f0462bd913b 100644
--- a/sbin/gbde/gbde.c
+++ b/sbin/gbde/gbde.c
@@ -750,7 +750,7 @@ main(int argc, char **argv)
if (argc < 3)
usage();
- if ((i = modfind("g_bde")) < 0) {
+ if (modfind("g_bde") < 0) {
/* need to load the gbde module */
if (kldload(GBDEMOD) < 0 || modfind("g_bde") < 0)
err(1, GBDEMOD ": Kernel module not available");