summaryrefslogtreecommitdiffstats
path: root/loader/pe_image.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-10-11 12:33:57 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:18:10 +0200
commited8e92afccc1123340c31cffed3dd403408ef032 (patch)
treeb995b42ac9f0206f5b8f7023232ef591826487fc /loader/pe_image.c
parent2865993869175737a9d5033e46471d6934db2713 (diff)
downloadmpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.bz2
mpv-ed8e92afccc1123340c31cffed3dd403408ef032.tar.xz
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
Diffstat (limited to 'loader/pe_image.c')
-rw-r--r--loader/pe_image.c4
1 files changed, 2 insertions, 2 deletions
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)