Fix after recent urlcache changes

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Dec 28 10:12:20 CST 2003


> -----Original Message-----
> From: Gerald Pfeifer [mailto:gerald at pfeifer.com]
> Sent: 28 December 2003 14:00
> To: Robert Shearman
> Cc: wine-patches at winehq.com
> Subject: Fix after recent urlcache changes
>
> After the following change to dlls/wininet/urlcache.c
>
>   revision 1.14
>   date: 2003/12/12 06:01:20;  author: julliard;  state: Exp;
> lines: +976 -418
>   Robert Shearman <R.J.Shearman at warwick.ac.uk>
>   - Url Cache improvements.
>   - In Internet{Set,Query}Option functions, hInternet can be NULL.
>   - Add traces to Internet* functions.
>
> I started getting the following compiler warning
>   urlcache.c:556: warning: `URLCache_FindEntry' defined but not used
> as URLCache_FindEntry() is a static (file local) function, but not used
> anywhere any longer.
>
> The patch below fixes this.
>
> Gerald

That code should probably adapted into the FindFirstUrlCacheEntry and
related functions. If you are adamant about removing the warning, please
enclose it in "#if 0... endif" instead so that someone does not try to
duplicate the work.

Rob





More information about the wine-devel mailing list