diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/dialogs/shellcode.c | 2 | ||||
-rw-r--r-- | src/gui/panels/errors.c | 16 | ||||
-rw-r--r-- | src/gui/panels/symbols.c | 5 |
3 files changed, 22 insertions, 1 deletions
diff --git a/src/gui/dialogs/shellcode.c b/src/gui/dialogs/shellcode.c index 8e4a205..68ce1f4 100644 --- a/src/gui/dialogs/shellcode.c +++ b/src/gui/dialogs/shellcode.c @@ -192,7 +192,7 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref) GtkEntry *entry; /* Zone de saisie */ const gchar *filename; /* Chemin d'accès du fichier */ - //binary = G_LOADED_BINARY(g_object_get_data(ref, "binary")); + binary = NULL;//G_LOADED_BINARY(g_object_get_data(ref, "binary")); format = g_loaded_binary_get_format(binary); options = g_rendering_options_new(format); diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c index afe0283..b4be9ad 100644 --- a/src/gui/panels/errors.c +++ b/src/gui/panels/errors.c @@ -562,6 +562,17 @@ static void update_error_panel(const GErrorPanel *panel, GtkStatusStack *status, } + else + { + /* Pour GCC... */ + format = NULL; + proc = NULL; + + fcount = 0; + pcount = 0; + + } + /* S'il n'y a aucun soucis à remonter... */ if (panel->binary == NULL || (fcount + pcount) == 0) @@ -1026,6 +1037,11 @@ static const char *g_error_panel_setup(const GErrorPanel *panel, unsigned int ui break; + default: /* Pour GCC... */ + assert(false); + result = ""; + break; + } return result; diff --git a/src/gui/panels/symbols.c b/src/gui/panels/symbols.c index d1e60fc..f016199 100644 --- a/src/gui/panels/symbols.c +++ b/src/gui/panels/symbols.c @@ -1550,6 +1550,11 @@ static const char *g_symbols_panel_setup(const GSymbolsPanel *panel, unsigned in break; + default: /* Pour GCC... */ + assert(false); + result = ""; + break; + } /* Mémorisation de tous les noeuds ouverts */ |