From da6a5953ac6c16d64858dae7c078df8ef3ad762b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 11 Nov 2022 17:30:57 +0100 Subject: [PATCH] test-hnbap: fix defined but not used error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../../../../src/osmo-iuh/src/tests/test-hnbap.c:53:28: error: ‘hnbap_reg_acc’ defined but not used [-Werror=unused-const-variable=] 53 | static const unsigned char hnbap_reg_acc[] = { | ^~~~~~~~~~~~~ Change-Id: I1fda405af9d4f1f43377ee0a81710e6e2668da13 --- src/tests/test-hnbap.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/tests/test-hnbap.c b/src/tests/test-hnbap.c index 4857bf1f..835a3316 100644 --- a/src/tests/test-hnbap.c +++ b/src/tests/test-hnbap.c @@ -50,12 +50,6 @@ static const unsigned char hnbap_reg_req[] = { 0x01 }; -static const unsigned char hnbap_reg_acc[] = { -0x20, 0x01, -0x00, 0x09, 0x00, 0x00, 0x01, 0x00, 0x0e, 0x00, -0x02, 0x00, 0x00 -}; - static const unsigned char hnbap_ue_reg_req[] = { 0x00, 0x03, 0x00, 0x1a, 0x00, 0x00, 0x03, 0x00, 0x05, 0x00,