home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e12416
)
Removed debugging code corrupting last commit.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Aug 2013 02:05:48 +0000
(
04:05
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 25 Aug 2013 02:05:48 +0000
(
04:05
+0200)
src/rexit.c
patch
|
blob
|
history
diff --git
a/src/rexit.c
b/src/rexit.c
index cb69ccd842c9275f41067e6704ae523bea9dfa60..802de341f44c98e09e61c6eab8510a2830b51eb4 100644
(file)
--- 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);
}