On 8/26/2014 5:37 PM, Andrew Fish wrote:
> -static void *SzAlloc(void *p, size_t size) { p = p; return MyAlloc(size); }
> -static void SzFree(void *p, void *address) { p = p; MyFree(address); }
> +static void *SzAlloc(void *p, size_t size) { return MyAlloc(size); }
> +static void SzFree(void *p, void *address) { MyFree(address); }

I guess some compiler was (is?) warning about 'p' being unused, so 
should there instead be a cast to void? i.e. (void)p;

-- 
Bruce Cran


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to