summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2016-06-22 09:36:00 +0200
committerJeremy Allison <jra@samba.org>2016-12-02 23:46:15 +0100
commit682300ce0ae5861bb0caaa620c1a37654e997fb0 (patch)
tree5dff36e4f41c63ff4088c6e75e228850bb966069 /lib
parent5c79a0fc90fe4bbad7b0e83752b7d5ec1d65d8f6 (diff)
downloadsamba-682300ce0ae5861bb0caaa620c1a37654e997fb0.tar.gz
util: Initialize pointer
Coverity warns about so this will silence it. Reviewed-by: Jeremy Allison <jra@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 625d23a0a55..99b1584a7af 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -653,7 +653,7 @@ static bool debug_parse_param(char *param)
{
char *class_name;
char *class_level;
- char *saveptr;
+ char *saveptr = NULL;
int ndx;
class_name = strtok_r(param, ":", &saveptr);