summaryrefslogtreecommitdiffstats
path: root/term_ps.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 17:32:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-25 17:32:04 +0000
commit488122cea4707e12b07fcc3116f7b07b4ddd7ab0 (patch)
tree74283cda878ab040a1e157e7892e0d55d0b14aab /term_ps.c
parent39ff6e4b0b3b7a522539aec9a027f1b265b6d8ae (diff)
downloadmandoc-488122cea4707e12b07fcc3116f7b07b4ddd7ab0.tar.gz
Remove unnecessary conditional...
Diffstat (limited to 'term_ps.c')
-rw-r--r--term_ps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/term_ps.c b/term_ps.c
index 68fd15f2..fddad2d0 100644
--- a/term_ps.c
+++ b/term_ps.c
@@ -428,8 +428,7 @@ pspdf_alloc(char *outopts)
const char *pp;
char *v;
- if (NULL == (p = term_alloc(TERMENC_ASCII)))
- return(NULL);
+ p = term_alloc(TERMENC_ASCII);
p->advance = ps_advance;
p->begin = ps_begin;