file_doc.c: compilation fix when DEBUG_OLE is defined

This commit is contained in:
Christophe Grenier 2013-07-30 10:50:04 +02:00
parent 53bf782d72
commit 8a2bdd4e44

View file

@ -665,10 +665,12 @@ static void OLE_parse_summary_aux(const unsigned char *dataPt, const unsigned in
unsigned int i; unsigned int i;
if(pos+8 > dirLen) if(pos+8 > dirLen)
return ; return ;
// size=get32u(dataPt, pos);
numEntries=get32u(dataPt, pos+4); numEntries=get32u(dataPt, pos+4);
#ifdef DEBUG_OLE #ifdef DEBUG_OLE
{
unsigned int size=get32u(dataPt, pos);
log_info("Property Info %u - %u at 0x%x\n", numEntries, size, pos); log_info("Property Info %u - %u at 0x%x\n", numEntries, size, pos);
}
#endif #endif
if(pos + 8 + 8 * numEntries > dirLen) if(pos + 8 + 8 * numEntries > dirLen)
return ; return ;