summaryrefslogtreecommitdiffstats
path: root/source3/modules/vfs_recycle.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-07 18:04:44 +0000
committerSimo Sorce <idra@samba.org>2003-04-07 18:04:44 +0000
commit898b37202e6f162de69425debb3feacef42c112a (patch)
tree92e32be02b040844a9b5840a400388580d9924c8 /source3/modules/vfs_recycle.c
parent6b8a18109364fa53287ce5e7425ad4c185e678cf (diff)
downloadsamba-898b37202e6f162de69425debb3feacef42c112a.tar.gz
samba-898b37202e6f162de69425debb3feacef42c112a.tar.xz
samba-898b37202e6f162de69425debb3feacef42c112a.zip
remove unneded instruction
(This used to be commit a6bc706625ad0bb16c11e20d533c536447a661a0)
Diffstat (limited to 'source3/modules/vfs_recycle.c')
-rw-r--r--source3/modules/vfs_recycle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index eedb65cd9d..df27e4234a 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -463,7 +463,6 @@ static int recycle_unlink(connection_struct *conn, const char *inname)
/* extract filename and path */
path_name = (char *)malloc(PATH_MAX);
ALLOC_CHECK(path_name, done);
- *path_name = '\0';
safe_strcpy(path_name, file_name, PATH_MAX);
base = strrchr(path_name, '/');
if (base == NULL) {