Skip to content

Commit

Permalink
Remove an unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
xyproto committed Feb 5, 2024
1 parent 7fcdf1f commit c961e63
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ int decode_hex_stream_bits(const int cols)
{
bool ignore = true;
int bit = 0, bit_buffer = 0, bit_count = 0, c = 0, n1 = -1, p = cols;
long have_off = 0, want_off = 0;
long want_off = 0;
rewind(input_file);
while ((c = getc(input_file)) != EOF) {
if (c == '\r') { // DOS style newlines?
Expand Down Expand Up @@ -316,7 +316,6 @@ int decode_hex_stream_bits(const int cols)
}
if (bit_count == 8) {
putc_or_die(bit_buffer);
have_off++;
want_off++;
bit_buffer = 0;
bit_count = 0;
Expand Down

0 comments on commit c961e63

Please sign in to comment.