pespin has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-sgsn/+/43341?usp=email )


Change subject: tests/v42bis: Remove unused variable
......................................................................

tests/v42bis: Remove unused variable

gcc 16.1.1 warns about it.

Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0
(cherry picked from commit 8972707b23ca79582def0d210f381dbc28e7809d)
---
M tests/v42bis/v42bis_test.c
1 file changed, 0 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/41/43341/1

diff --git a/tests/v42bis/v42bis_test.c b/tests/v42bis/v42bis_test.c
index e9c5069..0c58bfa 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/+/43341?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-sgsn
Gerrit-Branch: pespin/rel-1.13.1
Gerrit-Change-Id: I715e57513ee62b7c61492a1d206232a5db107ea0
Gerrit-Change-Number: 43341
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to