libmpm

morphux C package management library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/libmpm

commit 22f4fe28b0ba46ed8e931ba1c751944d69545c2e
parent d0e39325f0707f65ac0d82e4c7a8c23aec8ec82d
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Fri, 10 Feb 2017 15:57:40 +0100

Fix(Tests): Useless line

Diffstat:
Mtests/test_database.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/tests/test_database.c b/tests/test_database.c @@ -39,8 +39,6 @@ SQL_CALLBACK_DEF(exec_callback) { sql_result_t *ptr = NULL; mlist_t **head = context, *new = NULL; - if (col_num == 0) - return 0; for (u8_t i = 0; i < col_num; i++) { ptr = malloc(sizeof(sql_result_t)); assert(ptr != NULL);