aboutsummaryrefslogtreecommitdiffstats
path: root/src/isup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isup.c')
-rw-r--r--src/isup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/isup.c b/src/isup.c
index 404dbb1..31b4221 100644
--- a/src/isup.c
+++ b/src/isup.c
@@ -94,7 +94,6 @@ static struct msgb *isup_simple_alloc(int cic, int msg_type)
int isup_parse_status(const uint8_t *data, uint8_t in_length)
{
uint8_t ptr;
- uint8_t length;
if (in_length < 3) {
LOGP(DISUP, LOGL_ERROR, "This needs three bytes.\n");
@@ -107,8 +106,6 @@ int isup_parse_status(const uint8_t *data, uint8_t in_length)
return -1;
}
- length = data[0 + ptr];
-
if (1 + ptr + 1 > in_length) {
LOGP(DISUP, LOGL_ERROR, "No space for the data.\n");
return -1;