Windows.cfg: add UNREFERENCED_PARAMETER() macro (#3809)
This commit is contained in:
parent
20a5224d7e
commit
966dbb1990
|
@ -17882,4 +17882,8 @@ HFONT CreateFont(
|
|||
<define name="TYPE_E_CANTLOADLIBRARY" value="0x80029C4A"/>
|
||||
<define name="TYPE_E_INCONSISTENTPROPFUNCS" value="0x80029C83"/>
|
||||
<define name="TYPE_E_CIRCULARTYPE" value="0x80029C84"/>
|
||||
<!-- winnt.h -->
|
||||
<define name="UNREFERENCED_PARAMETER(P)" value="((void)(P))"/>
|
||||
<define name="DBG_UNREFERENCED_PARAMETER(P)" value="((void)(P))"/>
|
||||
<define name="DBG_UNREFERENCED_LOCAL_VARIABLE(P)" value="((void)(P))"/>
|
||||
</def>
|
||||
|
|
|
@ -769,6 +769,10 @@ void uninitvar()
|
|||
_fileno(pFileUninit);
|
||||
}
|
||||
|
||||
void unreferencedParameter(int i) {
|
||||
UNREFERENCED_PARAMETER(i);
|
||||
}
|
||||
|
||||
void errorPrintf()
|
||||
{
|
||||
char bufC[50];
|
||||
|
|
Loading…
Reference in New Issue