From 018991775c7e28630ef4fe704f8eb30fb06f38d9 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sat, 26 Dec 2009 11:51:45 +0100 Subject: [PATCH] Lets not mix initialized stack variable with uninitialized ones in the same definition. --- bacula/src/filed/xattr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index 2611c7a626..6a839d201b 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -648,7 +648,8 @@ static bxattr_exit_code bsd_build_xattr_streams(JCR *jcr, FF_PKT *ff_pkt) uint32_t expected_serialize_len = 0; unsigned int namespace_index; int attrnamespace; - char *current_attrnamespace = NULL, current_attrname[BUFSIZ], current_attrtuple[BUFSIZ]; + char *current_attrnamespace = NULL; + char current_attrname[BUFSIZ], current_attrtuple[BUFSIZ]; xattr_t *current_xattr; alist *xattr_value_list = NULL; bxattr_exit_code retval = bxattr_exit_error; -- 2.39.5