Fix some compile warnings.
authorTim Potter <tpot@samba.org>
Fri, 4 Feb 2000 05:18:06 +0000 (05:18 +0000)
committerTim Potter <tpot@samba.org>
Fri, 4 Feb 2000 05:18:06 +0000 (05:18 +0000)
source/smbd/filename.c
source/smbd/vfs.c

index 85055f676a837cad26752bc4b5a9cc3a21144bc6..b0c44d503a530a7d6722c1f78afd0f99b9a66c73 100644 (file)
@@ -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;
index f5c2ec3426c1176112983488c39fd1d965e958b2..44f44bd169a437cc27fe01881484913b0aca5030 100644 (file)
@@ -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
+