diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-01 12:50:00 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-01 12:53:41 +0200 |
commit | b292af0c38c6aa2167adb5803ced03cf51a81a9c (patch) | |
tree | 8da6dc2435f174a45cd58a43c1fd1795ecd5ea72 /source3 | |
parent | c229239ea4799bb18973d4bdcb4cb499043d6f15 (diff) | |
download | samba-b292af0c38c6aa2167adb5803ced03cf51a81a9c.tar.gz samba-b292af0c38c6aa2167adb5803ced03cf51a81a9c.tar.bz2 samba-b292af0c38c6aa2167adb5803ced03cf51a81a9c.zip |
s3:onefs_open: remove unused variable passed to parent_dirname()
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/onefs_open.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c index 5aade2c562..da7d413073 100644 --- a/source3/modules/onefs_open.c +++ b/source3/modules/onefs_open.c @@ -1370,7 +1370,6 @@ static NTSTATUS onefs_open_directory(connection_struct *conn, struct timespec mtimespec; int info = 0; char *parent_dir; - const char *dirname; bool posix_open = false; uint32 create_flags = 0; uint32 mode = lp_dir_mask(SNUM(conn)); @@ -1436,7 +1435,7 @@ static NTSTATUS onefs_open_directory(connection_struct *conn, /* Get parent dirname */ if (!parent_dirname(talloc_tos(), smb_dname->base_name, &parent_dir, - &dirname)) { + NULL)) { return NT_STATUS_NO_MEMORY; } |