Fixed compiler warning.
authorJeremy Allison <jra@samba.org>
Fri, 8 Dec 2000 19:59:22 +0000 (19:59 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 8 Dec 2000 19:59:22 +0000 (19:59 +0000)
Jeremy.
(This used to be commit e6a1a1e444631f0d674f33b5b8d1d71435de0511)

source3/smbd/vfs-wrap.c

index 3ecad48371a0a0114f13ee4707528eb8fea2b6f1..a9d8a32430e5555f184fc22d42beedf67f875160 100644 (file)
@@ -470,10 +470,10 @@ int vfswrap_ftruncate(files_struct *fsp, int fd, SMB_OFF_T len)
        }
   done:
 
-#endif
-
     END_PROFILE(syscall_ftruncate);
     return result;
+#endif
+
 }
 
 BOOL vfswrap_lock(files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)