[XS] Change in osmo-sgsn[master]: tests/v42bis: Remove unused variable
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email ) Change subject: tests/v42bis: Remove unused variable ...................................................................... tests/v42bis: Remove unused variable gcc 16.1.1 warns about it. Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0 --- M tests/v42bis/v42bis_test.c 1 file changed, 0 insertions(+), 4 deletions(-) Approvals: osmith: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/tests/v42bis/v42bis_test.c b/tests/v42bis/v42bis_test.c index 7ada0e2..513e333 100644 --- a/tests/v42bis/v42bis_test.c +++ b/tests/v42bis/v42bis_test.c @@ -333,7 +333,6 @@ uint8_t *uncompressed; v42bis_state_t *rx_state; int rc; - int rc_sum = 0; int len; struct v42bis_output_buffer uncompressed_data; @@ -363,13 +362,10 @@ rx_state->decompress.user_data = (&uncompressed_data); rc = v42bis_decompress_flush(rx_state); printf("v42bis_decompress_flush() rc=%d\n", rc); - rc_sum += rc; rc = v42bis_decompress(rx_state, compressed, compressed_len); printf("v42bis_decompress() rc=%d\n", rc); - rc_sum += rc; rc = v42bis_decompress_flush(rx_state); printf("v42bis_decompress_flush() rc=%d\n", rc); - rc_sum += rc; /* Check results */ printf("compressed= %s ASCII:", -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43100?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0 Gerrit-Change-Number: 43100 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin