Under IRIX, a void function may return a value, even if that value is
authorTim Potter <tpot@samba.org>
Mon, 5 Apr 1999 23:35:50 +0000 (23:35 +0000)
committerTim Potter <tpot@samba.org>
Mon, 5 Apr 1999 23:35:50 +0000 (23:35 +0000)
void!

source/smbd/vfs-wrap.c

index b8325dd1e7699b120848efcd9a258ed4395eb95f..b3d1a35329bba53d67b565a3b904316c88029aed 100644 (file)
@@ -118,7 +118,7 @@ int vfswrap_rename(char *old, char *new)
 
 void vfswrap_sync_file(struct connection_struct *conn, files_struct *fsp)
 {
-    return sys_sync_file(conn, fsp);
+    sys_sync_file(conn, fsp);
 }
 
 int vfswrap_stat(char *fname, SMB_STRUCT_STAT *sbuf)