Permalink
Browse files

Removed some warnings (extra parentheses), comments in comments..

  • Loading branch information...
1 parent 8b56ea7 commit 118f80c9e66c7350c7088fdc4fd28ac612ce94a1 @xbeaudouin xbeaudouin committed Aug 26, 2016
Showing with 3 additions and 3 deletions.
  1. +1 −1 hardware/Netatmo.cpp
  2. +1 −1 main/WebServer.cpp
  3. +1 −1 zip/unzip.h
@@ -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;
}
View
@@ -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?
View
@@ -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;

0 comments on commit 118f80c

Please sign in to comment.