From 8edcffdc305b2c09a4f9b886fee12ecfc48a0e24 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 15 Feb 2012 08:25:29 +0100 Subject: cppcheck (bzr r10977) --- src/extension/param/bool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/param/bool.cpp') diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp index bc75e62fc..bcb5b6e5b 100644 --- a/src/extension/param/bool.cpp +++ b/src/extension/param/bool.cpp @@ -31,7 +31,7 @@ ParamBool::ParamBool(const gchar * name, const gchar * guitext, const gchar * de defaultval = xml->firstChild()->content(); } - if (defaultval != NULL && (!strcmp(defaultval, "true") || !strcmp(defaultval, "true") || !strcmp(defaultval, "1"))) { + if (defaultval != NULL && (!strcmp(defaultval, "true") || !strcmp(defaultval, "1"))) { _value = true; } else { _value = false; -- cgit v1.2.3