Skip to content

Commit

Permalink
chore: Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed Jul 13, 2024
1 parent c49223b commit 27c397d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions driver/apdu/at.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ static int at_expect(char **response, const char *expected)
{
uint8_t *buffer = NULL;
size_t buffer_len = 0;
size_t total_len = 0;

if (response)
*response = NULL;
Expand All @@ -150,8 +149,6 @@ static int at_expect(char **response, const char *expected)
free(buffer);
return -1;
}
total_len += buffer_len;

char *line = strtok((char *)buffer, "\r\n");
while (line != NULL)
{
Expand Down

0 comments on commit 27c397d

Please sign in to comment.