summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eeprom_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eeprom_main.c b/src/eeprom_main.c
index 2450df4..e0add12 100644
--- a/src/eeprom_main.c
+++ b/src/eeprom_main.c
@@ -769,8 +769,8 @@ int main(int argc, char *argv[]) {
case CMD_OPT_SLOTS:
// concatenate slots arguments
if (base_board) {
- length = 0;
- init = 1;
+ int length = 0;
+ int init = 1;
if (slots) {
length = strlen(slots) + 1;
init = 0; // Already initialized