Fixed compiler warning.
authorTim Potter <tpot@samba.org>
Wed, 6 Dec 2000 01:47:06 +0000 (01:47 +0000)
committerTim Potter <tpot@samba.org>
Wed, 6 Dec 2000 01:47:06 +0000 (01:47 +0000)
source/smbd/vfs-wrap.c

index ff150b4e40ba79216e4129947a1a651c8b3c2db3..9007eb3b6db7217dce262644e7132f3d44372aa9 100644 (file)
@@ -467,10 +467,10 @@ int vfswrap_ftruncate(files_struct *fsp, int fd, SMB_OFF_T len)
        if(vfs_ops->lseek(fsp, currpos, SEEK_SET) != currpos) {
                goto done;
        }
-#endif
-
   done:
 
+#endif
+
     END_PROFILE(syscall_ftruncate);
     return result;
 }