summaryrefslogtreecommitdiff
path: root/src/main-gtk2.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-15 20:55:24 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-15 20:55:24 +0100
commit63dc88888692fbeddb4c0a2ec99af3cd708276eb (patch)
tree816e380c679b79f421419c89af154a234a6ee48a /src/main-gtk2.c
parent87e166812794559b13741c70e1de5d3280a3ff17 (diff)
Remove core() and core_aux
Invoking undefined behavior is not the correct way to get a core dump. Plus there's only a single caller, only used in truly bizarre circumstances.
Diffstat (limited to 'src/main-gtk2.c')
-rw-r--r--src/main-gtk2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main-gtk2.c b/src/main-gtk2.c
index 6e5fff7e..5f6dae12 100644
--- a/src/main-gtk2.c
+++ b/src/main-gtk2.c
@@ -1923,7 +1923,6 @@ errr init_gtk2(int argc, char **argv)
/* Activate hooks - Use gtk/glib interface throughout */
quit_aux = hook_quit;
- core_aux = hook_quit;
/* Parse args */
for (i = 1; i < argc; i++)