Add support for VFS op streaminfo chaining in all relevant VFS modules.
[ira/wip.git] / source3 / smbd / filename.c
index 610a4ce42aad5c08b23e04442e20ad5fd5b9561a..7fe7cc8063b1f71ba2ba29b536f481efed87accd 100644 (file)
@@ -1169,7 +1169,7 @@ static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
                                  struct smb_filename *smb_fname)
 {
        NTSTATUS status;
-       unsigned int i, num_streams;
+       unsigned int i, num_streams = 0;
        struct stream_struct *streams = NULL;
 
        if (SMB_VFS_STAT(conn, smb_fname) == 0) {