dlls/ntdll/directory.c
Juan Lang
juan_lang at yahoo.com
Fri May 20 13:52:21 CDT 2005
--- Gerald Pfeifer <gerald at pfeifer.com> wrote:
> 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.
Oh, duh. Your patch is obviously correct. Thanks for catching that.
--Juan
> 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
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the wine-patches
mailing list