ifdef to get rid of binbuf unused variable warning

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4416 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-11-24 16:50:10 +00:00
parent d0f1bae314
commit def20ae25b

View file

@ -1187,8 +1187,9 @@ static int NSISCALL ExecuteEntry(entry *entry_)
}
if (type == REG_BINARY)
{
#ifdef NSIS_CONFIG_LOG
char binbuf[128];
#endif
// use buf2, buf3 and buf4
size = GetCompressedDataFromDataBlockToMemory(parm3, data, 3 * NSIS_MAX_STRLEN);
LogData2Hex(binbuf, sizeof(binbuf), data, size);