From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 25 Aug 2013 02:05:48 +0000 (+0200)
Subject: Removed debugging code corrupting last commit.
X-Git-Tag: tce~1057
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/index.html?a=commitdiff_plain;h=a114fa4f1f357895cf540972f20319b7a49c5984;p=plomrogue

Removed debugging code corrupting last commit.
---

diff --git a/src/rexit.c b/src/rexit.c
index cb69ccd..802de34 100644
--- a/src/rexit.c
+++ b/src/rexit.c
@@ -9,8 +9,6 @@
 #include "map.h" /* for Map struct */
 #include "keybindings.h" /* for KeysWinData, KeyBinding structs */
 
-#include "errno.h"
-
 
 /* The clean-up routine and the flag resource by which it decides what to do. */
 static uint8_t cleanup_flags = 0x00;
@@ -73,7 +71,6 @@ extern void exit_err(uint8_t err, struct World * world, char * msg)
         msg = "Some error encountered. Aborted.";
     }
     printf("%s\n", msg);
-    errno = 0;
     perror("errno states");
     exit(EXIT_FAILURE);
 }