home · contact · privacy
Removed debugging code corrupting last commit.
[plomrogue] / src / rexit.c
index cb69ccd842c9275f41067e6704ae523bea9dfa60..802de341f44c98e09e61c6eab8510a2830b51eb4 100644 (file)
@@ -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);
 }