home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix non-initializations that are detected as errors on gcc -O3.
[plomrogue]
/
src
/
common
/
rexit.c
diff --git
a/src/common/rexit.c
b/src/common/rexit.c
index 7b837e946987bc59b658ba441f5129b1c22a1c7a..facf63fffc71a53a9ffd9c0581383f9954bde4f1 100644
(file)
--- a/
src/common/rexit.c
+++ b/
src/common/rexit.c
@@
-31,9
+31,7
@@
extern void exit_err(int err, char * msg)
{
msg = "Details unknown.";
}
- printf("Aborted program due to error. %s\n"
- "Internal error code: %d\n",
- msg, err);
+ printf("Aborted program due to error. %s\n", msg);
if (0 != errno)
{
perror("errno states");