mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-17 02:34:36 +00:00
Address unused variable warning (for XML_CONTEXT_BYTES not defined)
This commit is contained in:
parent
f0b63f56c8
commit
50db475431
1 changed files with 4 additions and 0 deletions
|
@ -2055,6 +2055,10 @@ XML_GetInputContext(XML_Parser parser, int *offset, int *size)
|
|||
*size = (int)(bufferEnd - buffer);
|
||||
return buffer;
|
||||
}
|
||||
#else
|
||||
(void)parser;
|
||||
(void)offset;
|
||||
(void)size;
|
||||
#endif /* defined XML_CONTEXT_BYTES */
|
||||
return (char *) 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue