summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Gomizelj <simongmzlj@gmail.com>2013-03-26 18:39:29 +0100
committerAllan McRae <allan@archlinux.org>2013-03-31 03:08:54 +0200
commitafc77a808db7927866afab4951b80a8e09846d8a (patch)
treeb5cd5633c7bd06cd0f5000f9185b57ce359ad2ba /src
parentc85d155f3a789ce149ecfca5f9ef205e329bb675 (diff)
downloadpacman-afc77a808db7927866afab4951b80a8e09846d8a.tar.gz
pacman-afc77a808db7927866afab4951b80a8e09846d8a.tar.xz
pm_asprintf logs 'failed to allocate' already
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
-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);