Removed all usage of __attribute__((unused)), replaced by void cast which is supported both on GCC and VBCC
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1984 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -3723,8 +3723,9 @@ void Test_PNG(T_IO_Context * context)
|
||||
/// Used by a callback in Load_PNG
|
||||
T_IO_Context * PNG_current_context;
|
||||
|
||||
int PNG_read_unknown_chunk(__attribute__((unused)) png_structp ptr, png_unknown_chunkp chunk)
|
||||
int PNG_read_unknown_chunk(png_structp ptr, png_unknown_chunkp chunk)
|
||||
{
|
||||
(void)ptr; // unused
|
||||
// png_unknown_chunkp members:
|
||||
// png_byte name[5];
|
||||
// png_byte *data;
|
||||
|
||||
Reference in New Issue
Block a user