git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c229239
)
s3:onefs_open: remove unused variable passed to parent_dirname()
author
Stefan Metzmacher
<metze@samba.org>
Wed, 1 Jul 2009 10:50:00 +0000
(12:50 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 1 Jul 2009 10:53:41 +0000
(12:53 +0200)
metze
source3/modules/onefs_open.c
patch
|
blob
|
history
diff --git
a/source3/modules/onefs_open.c
b/source3/modules/onefs_open.c
index 5aade2c56289e009497be5588276a99c5171171f..da7d4130730bb29d8f9efbe7bf34728ee2de9f75 100644
(file)
--- 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;
}