aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2016-10-31 12:55:52 -0500
committerSeebs <seebs@seebs.net>2016-10-31 12:58:39 -0500
commit6a72669c63b598f383b56becc04863db439ec6ae (patch)
tree8df9e592aecfc1469f839a3be62814b3c2766025 /pseudo_util.c
parent4c8a20505242fb049409f38cbc65e7b607fd0b8c (diff)
downloadpseudo-6a72669c63b598f383b56becc04863db439ec6ae.tar.gz
pseudo-6a72669c63b598f383b56becc04863db439ec6ae.tar.bz2
pseudo-6a72669c63b598f383b56becc04863db439ec6ae.zip
Drop now-redundant if.
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c5
1 files changed, 1 insertions, 4 deletions
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