remove unused argument warnings

This commit is contained in:
Thomas Bernard 2019-07-24 03:19:05 +02:00
parent 8c6eec6928
commit eb0b9eae62
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
2 changed files with 3 additions and 0 deletions

View File

@ -1634,6 +1634,7 @@ static void Load_ClipBoard_Image(T_IO_Context * context)
X11_clipboard_type = X11_CLIPBOARD_NONE;
#else
(void)context;
GFX2_Log(GFX2_ERROR, "Load_ClipBoard_Image() not implemented on this platform yet\n");
File_error = 1;
#endif
@ -1751,6 +1752,7 @@ static void Save_ClipBoard_Image(T_IO_Context * context)
XSetSelectionOwner(X11_display, selection, X11_window, CurrentTime);
}
#else
(void)context;
GFX2_Log(GFX2_ERROR, "Save_ClipBoard_Image() not implemented on this platform yet\n");
File_error = 1;
#endif

View File

@ -118,6 +118,7 @@ void Test_TIFF(T_IO_Context * context, FILE * file)
{
char buffer[4];
(void)context;
File_error = 1;
if (!Read_bytes(file, buffer, 4))
return;