Mercurial > mplayer.hg
comparison loader/ext.c @ 32394:914208d188b9
Remove #warning preprocessor directives or replace them by suitable comments.
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.
author | diego |
---|---|
date | Mon, 11 Oct 2010 12:33:57 +0000 |
parents | 9fc9d1e788aa |
children | 8fa2f43cb760 |
comparison
equal
deleted
inserted
replaced
32393:98fda5253e80 | 32394:914208d188b9 |
---|---|
471 str=str->prev; | 471 str=str->prev; |
472 continue; | 472 continue; |
473 } | 473 } |
474 if(str->state==0) | 474 if(str->state==0) |
475 { | 475 { |
476 #warning FIXME | 476 // FIXME |
477 if( ((unsigned)address >= (unsigned)str->address) | 477 if( ((unsigned)address >= (unsigned)str->address) |
478 && ((unsigned)address+size<=(unsigned)str->address+str->mapping_size) | 478 && ((unsigned)address+size<=(unsigned)str->address+str->mapping_size) |
479 && (type & MEM_COMMIT)) | 479 && (type & MEM_COMMIT)) |
480 { | 480 { |
481 return address; //returning previously reserved memory | 481 return address; //returning previously reserved memory |