summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-21 11:47:27 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-21 11:47:27 +0000
commit76a0be1dbac56c8631a373151799dda2d64714f9 (patch)
tree11bf3e7472e4c384cbe1445370464d052f9e0321 /source3
parent61922ee4363bd090bafd7a9ea7e6b2f2b3709e87 (diff)
downloadsamba-76a0be1dbac56c8631a373151799dda2d64714f9.tar.gz
samba-76a0be1dbac56c8631a373151799dda2d64714f9.tar.bz2
samba-76a0be1dbac56c8631a373151799dda2d64714f9.zip
Remove unused (#ifdef'ed) code.
(This used to be commit c11465b285d5eb3c42a84095a5dc41af7e07267d)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/statcache.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 0f42a3a83f..44bae48990 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -128,18 +128,6 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
original_path_length = translated_path_length;
}
-#if 0
- /*
- * We will only replace namelen characters
- * of full_orig_name.
- * StrnCpy always null terminates.
- */
-
- smbStrnCpy(orig_name, full_orig_name, namelen);
- if(!case_sensitive)
- strupper( orig_name );
-#endif
-
/*
* Check this name doesn't exist in the cache before we
* add it.