diff options
author | John Klug <john.klug@multitech.com> | 2020-10-26 16:36:18 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-10-26 16:36:18 -0500 |
commit | 733d547752e926b41a48601107abff4130c8ef07 (patch) | |
tree | 62798e8163746957b1a3b5a14433240edbaa0614 | |
parent | 28ef414d796da33428dae2e108106c440f7aac24 (diff) | |
download | mts-id-eeprom-733d547752e926b41a48601107abff4130c8ef07.tar.gz mts-id-eeprom-733d547752e926b41a48601107abff4130c8ef07.tar.bz2 mts-id-eeprom-733d547752e926b41a48601107abff4130c8ef07.zip |
Declare variables used by mtcdt3b
-rw-r--r-- | src/eeprom_main.c | 4 |
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 |