aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt3
-rw-r--r--pseudo_util.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 1b30c54..6466806 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2016-10-31:
+ * (seebs) drop silly if
+
2016-10-29:
* (seebs) handle x32
diff --git a/pseudo_util.c b/pseudo_util.c
index a60c74b..172990b 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -1566,10 +1566,7 @@ pseudo_logfile(char *filename, char *defname, int prefer_fd) {
pseudo_util_debug_fd = fd;
}
free(pseudo_path);
- if (fd == -1)
- return -1;
- else
- return fd;
+ return fd;
}
int