projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error when toggling memory display viewing on/off
[emu8051.git]
/
src
/
gtk
/
helpmenu.c
diff --git
a/src/gtk/helpmenu.c
b/src/gtk/helpmenu.c
index
4a8d9dc
..
6d3f9e0
100644
(file)
--- a/
src/gtk/helpmenu.c
+++ b/
src/gtk/helpmenu.c
@@
-44,6
+44,8
@@
static void
HelpCommandsEvent(gchar *string)
{
static void
HelpCommandsEvent(gchar *string)
{
+ (void) string; /* Remove compiler warning about unused variables. */
+
ShowMessage("Command Line Options", COMMAND_LINE_OPTIONS,
GTK_JUSTIFY_LEFT, MESSAGE_DIALOG_FIXED_FONT);
}
ShowMessage("Command Line Options", COMMAND_LINE_OPTIONS,
GTK_JUSTIFY_LEFT, MESSAGE_DIALOG_FIXED_FONT);
}
@@
-51,6
+53,10
@@
HelpCommandsEvent(gchar *string)
static void
HelpAboutEvent(GtkWidget *widget, gpointer data)
{
static void
HelpAboutEvent(GtkWidget *widget, gpointer data)
{
+ /* Remove compiler warning about unused variables. */
+ (void) widget;
+ (void) data;
+
const char *authors[] = {
"Hugo Villeneuve <hugo@hugovil.com>",
"Jonathan St-André",
const char *authors[] = {
"Hugo Villeneuve <hugo@hugovil.com>",
"Jonathan St-André",