[pacman-dev] [PATCH 1/4] pm_asprintf logs 'failed to allocate' already

Simon Gomizelj simongmzlj at gmail.com
Tue Mar 26 13:39:29 EDT 2013


Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
---
 src/pacman/util.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pacman/util.c b/src/pacman/util.c
index ef66638..862c8e8 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -749,7 +749,6 @@ void signature_display(const char *title, alpm_siglist_t *siglist,
 			ret = pm_asprintf(&sigline, _("%s, %s from \"%s\""),
 					status, validity, name);
 			if(ret == -1) {
-				pm_printf(ALPM_LOG_ERROR,  _("failed to allocate string\n"));
 				continue;
 			}
 			indentprint(sigline, len, maxcols);
-- 
1.8.2



More information about the pacman-dev mailing list