Commit b774794514fadb92b25a28fd98a8cfbf035094ff
1 parent
8cd29bee
Exists in
master
and in
50 other branches
Fix some warning message
Showing
3 changed files
with
5 additions
and
2 deletions
Show diff stats
src/ParamOutputImpl/Plot/Time/TimePlot.cc
... | ... | @@ -1161,7 +1161,7 @@ void TimePlot::drawIntervals(double startDate, double stopDate, std::string pPar |
1161 | 1161 | AMDA::Info::ParamInfoSPtr paramInfo = AMDA::Info::ParamMgr::getInstance()->getParamInfoFromId(p->getInfoId()); |
1162 | 1162 | |
1163 | 1163 | //get computed values |
1164 | - int startIndex, nbData; | |
1164 | + int startIndex, nbData = 0; | |
1165 | 1165 | data.getIntervalBounds(startDate, stopDate, startIndex, nbData); |
1166 | 1166 | |
1167 | 1167 | Color crtColor; | ... | ... |
src/Parameters/DataTypeMath.hh
... | ... | @@ -1564,7 +1564,7 @@ template<typename Type> |
1564 | 1564 | bool isValid(const std::string& num) { |
1565 | 1565 | bool flag = true; |
1566 | 1566 | try { |
1567 | - Type tmp = boost::lexical_cast<Type>(num); | |
1567 | + boost::lexical_cast<Type>(num); | |
1568 | 1568 | } catch (boost::bad_lexical_cast &e) { |
1569 | 1569 | flag = false; |
1570 | 1570 | } | ... | ... |
src/TimeTableCatalog/VOTableWriter.cc