fix compiler warnings

This commit is contained in:
Mario Hüttel 2019-03-16 16:24:39 +01:00
parent b9cc8570ac
commit e289e7b301

4
main.c
View File

@ -52,7 +52,7 @@ static void app_about(GSimpleAction *action, GVariant *parameter, gpointer user_
{ {
GtkBuilder *builder; GtkBuilder *builder;
GtkDialog *dialog; GtkDialog *dialog;
const struct application_data * const appdata = (const struct application_data *)user_data; (void)user_data;
(void)action; (void)action;
(void)parameter; (void)parameter;
@ -107,8 +107,6 @@ static int start_gui(int argc, char **argv)
GMenu *menu; GMenu *menu;
GMenu *m_quit; GMenu *m_quit;
GMenu *m_about; GMenu *m_about;
GList *list_iter;
GdsRenderGui *gui;
gapp = gtk_application_new("de.shimatta.gds-render", G_APPLICATION_FLAGS_NONE); gapp = gtk_application_new("de.shimatta.gds-render", G_APPLICATION_FLAGS_NONE);
g_application_register(G_APPLICATION(gapp), NULL, NULL); g_application_register(G_APPLICATION(gapp), NULL, NULL);