From 7499e77a7fc64232ec997718aa1605cfe9fb4134 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 13 Feb 2012 03:13:06 +0000 Subject: Fix bug: pm_asprintf() always fails on a system that doesn't have vasprintf() git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1650 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/util/nstring.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/nstring.c b/lib/util/nstring.c index f3f44fe8..5dd8f680 100644 --- a/lib/util/nstring.c +++ b/lib/util/nstring.c @@ -786,7 +786,6 @@ pm_asprintf(const char ** const resultP, result = NULL; else { size_t const allocSize = dryRunLen + 1; - char * result; result = malloc(allocSize); if (result != NULL) { va_list varargs; -- cgit 1.4.1