diff options
author | Tim Potter <tpot@samba.org> | 2000-02-07 00:41:58 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-02-07 00:41:58 +0000 |
commit | 427a3baa9ccb942b82832f255e09acc87afca166 (patch) | |
tree | 525726ccf59e42884f4e868ac51eda4515fa44e1 /source3 | |
parent | ebbb007ed274c975ef5f36f6eb10e6e46df00dcb (diff) | |
download | samba-427a3baa9ccb942b82832f255e09acc87afca166.tar.gz samba-427a3baa9ccb942b82832f255e09acc87afca166.tar.bz2 samba-427a3baa9ccb942b82832f255e09acc87afca166.zip |
Fix some more compile warnings.
(This used to be commit 507624dbc0a1a9e1df72a6b8de45038e86a9e5b1)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/filename.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index b0c44d503a..729ef8c809 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -131,6 +131,7 @@ static hash_table stat_cache; case. *****************************************************************************/ +#if 0 /* This function unused?? */ static BOOL stat_name_equal_len( char *stat_name, char *orig_name, int len) { BOOL matched = (memcmp( stat_name, orig_name, len) == 0); @@ -139,6 +140,7 @@ static BOOL stat_name_equal_len( char *stat_name, char *orig_name, int len) return matched; } +#endif /**************************************************************************** Add an entry into the stat cache. @@ -243,7 +245,6 @@ static BOOL stat_cache_lookup(connection_struct *conn, char *name, char *dirpath char **start, SMB_STRUCT_STAT *pst) { stat_cache_entry *scp; - stat_cache_entry *longest_hit = NULL; char *trans_name; pstring chk_name; int namelen; |