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:
parent
d0f1bae314
commit
def20ae25b
1 changed files with 2 additions and 1 deletions
|
@ -1187,8 +1187,9 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
}
|
}
|
||||||
if (type == REG_BINARY)
|
if (type == REG_BINARY)
|
||||||
{
|
{
|
||||||
|
#ifdef NSIS_CONFIG_LOG
|
||||||
char binbuf[128];
|
char binbuf[128];
|
||||||
|
#endif
|
||||||
// use buf2, buf3 and buf4
|
// use buf2, buf3 and buf4
|
||||||
size = GetCompressedDataFromDataBlockToMemory(parm3, data, 3 * NSIS_MAX_STRLEN);
|
size = GetCompressedDataFromDataBlockToMemory(parm3, data, 3 * NSIS_MAX_STRLEN);
|
||||||
LogData2Hex(binbuf, sizeof(binbuf), data, size);
|
LogData2Hex(binbuf, sizeof(binbuf), data, size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue