Skip to content

Commit

Permalink
Fix uninitialized value
Browse files Browse the repository at this point in the history
Solves #16
  • Loading branch information
krzmaz authored Jan 8, 2024
1 parent e760d05 commit 4660413
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ssi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ void ssi_init()
adc_init();
adc_gpio_init(26);
adc_select_input(0);
size_t i;
for (i = 0; i < LWIP_ARRAYSIZE(ssi_example_tags); i++) {
for (size_t i = 0; i < LWIP_ARRAYSIZE(ssi_example_tags); i++) {
LWIP_ASSERT("tag too long for LWIP_HTTPD_MAX_TAG_NAME_LEN",
strlen(ssi_example_tags[i]) <= LWIP_HTTPD_MAX_TAG_NAME_LEN);
}
Expand Down

0 comments on commit 4660413

Please sign in to comment.