From a70cc9746f08bed892a47d82cc723170502c0da7 Mon Sep 17 00:00:00 2001 From: brarcher Date: Mon, 16 Dec 2013 16:29:27 +0000 Subject: [PATCH] check_check_pack: remove unnecessary assignment clang's scan-build static analyzer pointed out that the assignment was unnecessary, as was ignored. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@863 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- tests/check_check_pack.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/check_check_pack.c b/tests/check_check_pack.c index f35035b..32dd498 100644 --- a/tests/check_check_pack.c +++ b/tests/check_check_pack.c @@ -120,7 +120,6 @@ START_TEST(test_pack_len) /* Value below may change with different implementations of pack */ ck_assert_msg (n == 8, "Return val from pack not correct"); - n = 0; n = upack (buf, (CheckMsg *) &cmsg, &type); if (n != 8) { snprintf (errm, sizeof (errm), "%d bytes read from upack, should be 8", n); -- 2.40.0