Add warning about unused parameters to CMake config and fix code accordingly

This commit is contained in:
2019-08-26 20:01:32 +02:00
parent f60150e8c7
commit 3489b74027
6 changed files with 34 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ G_DEFINE_TYPE(GdsRenderGui, gds_render_gui, G_TYPE_OBJECT)
static gboolean on_window_close(gpointer window, GdkEvent *event, gpointer user)
{
GdsRenderGui *self;
(void)event;
self = RENDERER_GUI(user);
/* Don't close window in case of error */