From ee250e7490cbb3550fed22fdb98b7152cce20b72 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 29 Dec 2018 16:32:28 +0000 Subject: Promote current Development release as Advanced git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@3468 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/libpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libpm.c') diff --git a/lib/libpm.c b/lib/libpm.c index b335debb..47a2f498 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -9,7 +9,6 @@ **************************************************************************/ #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */ -#define _BSD_SOURCE /* Make sure strdup is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure ftello, fseeko are defined */ #include "netpbm/pm_config.h" @@ -439,7 +438,8 @@ pm_maxvaltobits(int const maxval) { return 16; else pm_error( "maxval of %d is too large!", maxval ); - return -1; /* Should never come here */ + + assert(false); } int -- cgit 1.4.1