From 58b2f5160b0d4698264489db389707c328fd472f Mon Sep 17 00:00:00 2001 From: Raphael Boucherie <raphael.boucherie@inria.fr> Date: Mon, 12 Jun 2017 15:54:14 +0200 Subject: [PATCH] fixed silent warnings --- testings/testing_tileinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testings/testing_tileinit.c b/testings/testing_tileinit.c index 3da0d51..f75f890 100644 --- a/testings/testing_tileinit.c +++ b/testings/testing_tileinit.c @@ -22,7 +22,6 @@ int main(int argc, char ** argv) { - int rc; libhqr_tree_t qrtree; libhqr_tiledesc_t matrix; @@ -32,7 +31,7 @@ main(int argc, char ** argv) matrix.mt = 1; matrix.nt = 1; libhqr_hqr_init( &qrtree, LIBHQR_QR, &matrix, 0, 0, 1, 3, 0, 0); - rc = libhqr_tree_check( &matrix, &qrtree ); + if(libhqr_tree_check( &matrix, &qrtree )) return 0; libhqr_matrix_finalize( &qrtree ); return 1; } -- GitLab