Oops. Don't break the build..
authorJeremy Allison <jra@samba.org>
Wed, 7 Oct 2009 22:43:43 +0000 (15:43 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 7 Oct 2009 22:43:43 +0000 (15:43 -0700)
Jeremy.

source3/smbd/files.c

index f7509d75fde0c35bb3dd4721cfeb52671566930c..2bc5ba6816e0a75ed431c6239652c765364ab654 100644 (file)
@@ -405,14 +405,13 @@ bool file_find_subpath(files_struct *dir_fsp)
        files_struct *fsp;
        size_t dlen;
        char *d_fullname = NULL;
        files_struct *fsp;
        size_t dlen;
        char *d_fullname = NULL;
-       bool ret = false;
 
        d_fullname = talloc_asprintf(talloc_tos(), "%s/%s",
                                     dir_fsp->conn->connectpath,
                                     dir_fsp->fsp_name->base_name);
 
        if (!d_fullname) {
 
        d_fullname = talloc_asprintf(talloc_tos(), "%s/%s",
                                     dir_fsp->conn->connectpath,
                                     dir_fsp->fsp_name->base_name);
 
        if (!d_fullname) {
-               goto out;
+               return false;
        }
 
        dlen = strlen(d_fullname);
        }
 
        dlen = strlen(d_fullname);
@@ -443,7 +442,7 @@ bool file_find_subpath(files_struct *dir_fsp)
        }
 
        TALLOC_FREE(d_fullname);
        }
 
        TALLOC_FREE(d_fullname);
-       return ret;
+       return false;
 }
 
 /****************************************************************************
 }
 
 /****************************************************************************