From 7341d0954194149d5659dbd33ea4b2f9f005b54a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 2 Dec 2007 17:24:22 -0600 Subject: Add 4 new pactests to get better code coverage by pactest I started playing around with gcov today and it showed a few places in the code that we don't test at all. This is the start of ensuring that we execute most of the code in our codebase. Signed-off-by: Dan McGee --- lib/libalpm/deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/deps.c') diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 350df6b8..7b7d1097 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -593,7 +593,7 @@ int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg, missdepstring, miss->target); free(missdepstring); if(data) { - MALLOC(miss, sizeof(pmdepmissing_t), 0); + MALLOC(miss, sizeof(pmdepmissing_t),/*nothing*/); if(!miss) { pm_errno = PM_ERR_MEMORY; FREELIST(*data); -- cgit v1.2.3-24-g4f1b