summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-03-26 13:39:29 -0400
committerAllan McRae <allan@archlinux.org>2013-03-31 11:08:54 +1000
commitafc77a808db7927866afab4951b80a8e09846d8a (patch)
treeb5cd5633c7bd06cd0f5000f9185b57ce359ad2ba
parentc85d155f3a789ce149ecfca5f9ef205e329bb675 (diff)
pm_asprintf logs 'failed to allocate' already
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index ef666380..862c8e8b 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);