From 3b6298b001467ff3d700624cf2bae5b1dc963a4c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 4 Feb 2000 05:18:06 +0000 Subject: Fix some compile warnings. (This used to be commit ccbd936211d4bfc8687cef78405ae58127289d13) --- source3/smbd/filename.c | 2 +- source3/smbd/vfs.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 85055f676a..b0c44d503a 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -199,7 +199,7 @@ static void stat_cache_add( char *full_orig_name, char *orig_translated_path) * add it. */ - if (hash_elem = hash_lookup(&stat_cache, orig_name)) { + if ((hash_elem = hash_lookup(&stat_cache, orig_name))) { found_scp = (stat_cache_entry *)(hash_elem->value); if (strcmp((found_scp->names+found_scp->name_len+1), translated_path) == 0) { return; diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index f5c2ec3426..44f44bd169 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -390,6 +390,10 @@ char *vfs_readdirname(connection_struct *conn, void *p) return(dname); } +/* VFS options not quite working yet */ + +#if 0 + /*************************************************************************** handle the interpretation of the vfs option parameter *************************************************************************/ @@ -448,3 +452,6 @@ static BOOL handle_vfs_option(char *pszParmValue, char **ptr) return True; } + +#endif + -- cgit