summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorportix <none@none>2012-05-30 13:47:06 +0200
committerportix <none@none>2012-05-30 13:47:06 +0200
commit5de803da7bde5953b33fb13bf8f5bf7f0e81fc32 (patch)
tree3406fd0bdeabdfd3ad10ae439dfa5e460c4da97d /src/util.c
parent9e26c3232e00613a37a0671768ad6ad61e924f36 (diff)
downloaddwb-5de803da7bde5953b33fb13bf8f5bf7f0e81fc32.zip
Fix all -Wextra warnings except for -Wunused-parameter
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 07f1e465..5949cc6e 100644
--- a/src/util.c
+++ b/src/util.c
@@ -809,7 +809,7 @@ util_string_to_sanitize(const char *string) {
else if (!strcmp(token[i], "allsessions"))
s |= SANITIZE_ALLSESSIONS;
else {
- s = -1;
+ s = SANITIZE_ERROR;
break;
}
}