Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unused/uninitialized variable warnings #214

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Astronomy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Astronomy::MoonData Astronomy::calculateMoonData(uint16_t year, uint8_t month, u
} else month -= 2;

c = year / 100;
jd += 30.59 * month;
jd = 30.59 * month;
jd += 365.25 * year;
jd += day;
jd += c / 4 - c;
Expand Down
1 change: 0 additions & 1 deletion src/MetOfficeClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ void MetOfficeClient::doUpdate(String url) {
}
}

int pos = 0;
boolean isBody = false;
char c;

Expand Down
1 change: 0 additions & 1 deletion src/ThingspeakClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ void ThingspeakClient::getLastChannelItem(String channelId, String readApiKey) {
}
}

int pos = 0;
boolean isBody = false;
char c;

Expand Down
1 change: 0 additions & 1 deletion src/WorldClockClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ void WorldClockClient::updateTime() {
}
}

int pos = 0;
boolean isBody = false;
char c;
client.setNoDelay(false);
Expand Down
Loading