Skip to content

Commit

Permalink
Removed some warnings (extra parentheses), comments in comments..
Browse files Browse the repository at this point in the history
  • Loading branch information
xbeaudouin committed Aug 26, 2016
1 parent 8b56ea7 commit 118f80c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hardware/Netatmo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ int CNetatmo::GetBatteryLevel(const std::string &ModuleType, const int battery_v
3600 high
3300 medium
3000 low
/* below 3000: very low */
below 3000: very low */
if (battery_vp <= 3000)
batValue = 0;
}
Expand Down
2 changes: 1 addition & 1 deletion main/WebServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4816,7 +4816,7 @@ namespace http {
root["result"][ii]["ptag"] = Notification_Type_Desc(NTYPE_TEMPERATURE, 1);
ii++;
}
if ((dType == pTypeEvohomeZone))
if (dType == pTypeEvohomeZone)
{
root["result"][ii]["val"]=NTYPE_TEMPERATURE;
root["result"][ii]["text"]=Notification_Type_Desc(NTYPE_SETPOINT,0); //FIXME NTYPE_SETPOINT implementation?
Expand Down
2 changes: 1 addition & 1 deletion zip/unzip.h
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ inline int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len)
}


if ((pfile_in_zip_read_info->read_buffer == NULL))
if (pfile_in_zip_read_info->read_buffer == NULL)
return UNZ_END_OF_LIST_OF_FILE;
if (len==0)
return 0;
Expand Down

0 comments on commit 118f80c

Please sign in to comment.