From: Marco van Wieringen Date: Sat, 26 Dec 2009 10:51:45 +0000 (+0100) Subject: Lets not mix initialized stack variable with uninitialized ones in the same definition. X-Git-Tag: Release-5.0.0~119^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=018991775c7e28630ef4fe704f8eb30fb06f38d9;p=bacula%2Fbacula Lets not mix initialized stack variable with uninitialized ones in the same definition. --- 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;