git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c79a0f
)
util: Initialize pointer
author
Andreas Schneider
<asn@samba.org>
Wed, 22 Jun 2016 07:36:00 +0000
(09:36 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 2 Dec 2016 22:46:15 +0000
(23:46 +0100)
Coverity warns about so this will silence it.
Reviewed-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
lib/util/debug.c
patch
|
blob
|
history
diff --git
a/lib/util/debug.c
b/lib/util/debug.c
index 625d23a0a5549621ef2a7b0f861ab2c8b5c4458d..99b1584a7af563b47d7cf05b0ccec8894080d048 100644
(file)
--- 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);