From ed8e92afccc1123340c31cffed3dd403408ef032 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 11 Oct 2010 12:33:57 +0000 Subject: Remove #warning preprocessor directives The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/pe_image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loader/pe_image.c') diff --git a/loader/pe_image.c b/loader/pe_image.c index b4bdba90c8..b13dfd0130 100644 --- a/loader/pe_image.c +++ b/loader/pe_image.c @@ -292,7 +292,7 @@ static DWORD fixup_imports( WINE_MODREF *wm ) if (characteristics_detection && !pe_imp->u.Characteristics) break; -//#warning FIXME: here we should fill imports + /* FIXME: here we should fill imports */ TRACE("Loading imports for %s.dll\n", name); if (pe_imp->u.OriginalFirstThunk != 0) { @@ -452,7 +452,7 @@ HMODULE PE_LoadImage( int handle, LPCSTR filename, WORD *version ) file_size=lseek(handle, 0, SEEK_END); lseek(handle, 0, SEEK_SET); -//#warning fix CreateFileMappingA + // fix CreateFileMappingA mapping = CreateFileMappingA( handle, NULL, PAGE_READONLY | SEC_COMMIT, 0, 0, NULL ); if (!mapping) -- cgit v1.2.3