Skip to content

Commit 6a78c26

Browse files
committed
Remove unused variable, causes error when compiling with Arduino IDE
1 parent 2672005 commit 6a78c26

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

09_with_cmd/with_cmd/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ String inputString;
2323
boolean stringComplete = false;
2424

2525
void inputModule() {
26-
//lwdtStamp(INPUT_MODULE);
27-
2826
if (stringComplete) {
2927
//addToLogPf(LOG_DEBUG, TAG_COMMAND, PSTR("Serial command: \"%s\""), inputString.c_str());
3028
//doCommand(FROM_UART, inputString.c_str());

10_with_config/with_config/commands.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ cmndError_t doDmtz(int count, int &errIndex) {
166166
//bool restartAP = false;
167167
int c_index = 0;
168168
errIndex = 0;
169-
cmndError_t errCode = etNone;
170169

171170
if ((count > 1) && token[1].equals("-d")) {
172171
defaultDmtz();
@@ -450,7 +449,6 @@ cmndError_t doMqtt(int count, int &errIndex) {
450449
//bool restartAP = false;
451450
int c_index = 0;
452451
errIndex = 0;
453-
cmndError_t errCode = etNone;
454452

455453
if ((count > 1) && token[1].equals("-d")) {
456454
defaultMqtt();

11_with_wm/with_wm/commands.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ cmndError_t doDmtz(int count, int &errIndex) {
260260
//bool restartAP = false;
261261
int c_index = 0;
262262
errIndex = 0;
263-
cmndError_t errCode = etNone;
264263

265264
if ((count > 1) && token[1].equals("-d")) {
266265
defaultDmtz();
@@ -544,7 +543,6 @@ cmndError_t doMqtt(int count, int &errIndex) {
544543
//bool restartAP = false;
545544
int c_index = 0;
546545
errIndex = 0;
547-
cmndError_t errCode = etNone;
548546

549547
if ((count > 1) && token[1].equals("-d")) {
550548
defaultMqtt();

12_with_mqtt/with_mqtt/commands.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ cmndError_t doDmtz(int count, int &errIndex) {
248248
//bool restartAP = false;
249249
int c_index = 0;
250250
errIndex = 0;
251-
cmndError_t errCode = etNone;
252251

253252
if ((count > 1) && token[1].equals("-d")) {
254253
defaultDmtz();
@@ -532,7 +531,6 @@ cmndError_t doMqtt(int count, int &errIndex) {
532531
//bool restartAP = false;
533532
int c_index = 0;
534533
errIndex = 0;
535-
cmndError_t errCode = etNone;
536534

537535
if ((count > 1) && token[1].equals("-d")) {
538536
defaultMqtt();

0 commit comments

Comments
 (0)