dlls/ntdll/directory.c
Gerald Pfeifer
gerald at pfeifer.com
Fri May 20 13:39:32 CDT 2005
Thanks for the following patch, Juan!
/home/wine/wine/dlls/ntdll/directory.c,v
----------------------------
revision 1.27
date: 2005/05/19 11:12:27; author: julliard; state: Exp; lines: +49 -0
Juan Lang <juan_lang at yahoo.com>
Implement get_default_drive_device for FreeBSD.
When I test-build it, I get the following warning,
directory.c:297: warning: control reaches end of non-void function
which can be addressed as follows, for example. Do you prefer to add
an ERR() there, Juan/Alexandre?
Gerald
ChangeLog:
Avoid compiler warning in parse_mount_entries().
Index: dlls/ntdll/directory.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/directory.c,v
retrieving revision 1.27
diff -u -3 -p -r1.27 directory.c
--- dlls/ntdll/directory.c 19 May 2005 11:12:27 -0000 1.27
+++ dlls/ntdll/directory.c 20 May 2005 18:38:18 -0000
@@ -294,6 +294,7 @@ static char *parse_mount_entries( FILE *
if (st.st_dev != dev || st.st_ino != ino) continue;
return entry->fs_spec;
}
+ return NULL;
}
#endif
More information about the wine-patches
mailing list