]> git.sur5r.net Git - bacula/bacula/commitdiff
Lets not mix initialized stack variable with uninitialized ones in the same definition.
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 26 Dec 2009 10:51:45 +0000 (11:51 +0100)
committerMarco van Wieringen <mvw@planets.elm.net>
Sat, 26 Dec 2009 10:51:45 +0000 (11:51 +0100)
bacula/src/filed/xattr.c

index 2611c7a6263a57ee637653dd5f53a5114b7fe192..6a839d201bd211aef99277f6f946b624706a2687 100644 (file)
@@ -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;