X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fgtk%2Fregwin.c;h=af16a7cac77a58f8a37c6c141ddbe774822c8568;hb=702da8f53198200be75f7b78011c3ffb1f4936a8;hp=8c4cd4d8a96b17d4aee4b0fe933b34277db75999;hpb=fa97a074e5240902f051ca883aa7d7c69682c9d5;p=emu8051.git diff --git a/src/gtk/regwin.c b/src/gtk/regwin.c index 8c4cd4d..af16a7c 100644 --- a/src/gtk/regwin.c +++ b/src/gtk/regwin.c @@ -82,6 +82,8 @@ regwin_cell_edited(GtkCellRendererText *cell, gchar *path_string, char *str; struct regwin_infos_t *regwin_infos; + (void) cell; /* Remove compiler warning about unused variables. */ + if (!model) { g_error("Unable to get model from cell renderer"); }