From e14284bb26298ab505a7489586d706f7d5402835 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 25 Jan 2011 17:32:04 +0000 Subject: Remove unnecessary conditional... --- term_ascii.c | 5 ++--- term_ps.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/term_ascii.c b/term_ascii.c index b926a5b3..374a2a02 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.11 2011/01/02 12:21:07 kristaps Exp $ */ +/* $Id: term_ascii.c,v 1.12 2011/01/25 17:32:04 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -48,8 +48,7 @@ ascii_alloc(char *outopts) const char *toks[2]; char *v; - if (NULL == (p = term_alloc(TERMENC_ASCII))) - return(NULL); + p = term_alloc(TERMENC_ASCII); p->tabwidth = 5; p->defrmargin = 78; diff --git a/term_ps.c b/term_ps.c index fa2f68fe..543b111c 100644 --- a/term_ps.c +++ b/term_ps.c @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.45 2010/09/27 23:03:44 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.46 2011/01/25 17:32:04 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -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; -- cgit v1.2.3-56-ge451