Hi,
Please find the latest report on new defect(s) introduced to Apache-Qpid found
with Coverity Scan.
1 new defect(s) introduced to Apache-Qpid found with Coverity Scan.
7 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent
build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1323156: Control flow issues (MISSING_BREAK)
/qpidbuilds/trunk/qpid/cpp/src/qpid/broker/SelectorToken.cpp: 288 in
qpid::broker::tokenise(__gnu_cxx::__normal_iterator<const char *,
std::basic_string<char, std::char_traits<char>, std::allocator<char>>> &,
__gnu_cxx::__normal_iterator<const char *, std::basic_string<char,
std::char_traits<char>, std::allocator<char>>> &, qpid::broker::Token &)()
________________________________________________________________________________________________________
*** CID 1323156: Control flow issues (MISSING_BREAK)
/qpidbuilds/trunk/qpid/cpp/src/qpid/broker/SelectorToken.cpp: 288 in
qpid::broker::tokenise(__gnu_cxx::__normal_iterator<const char *,
std::basic_string<char, std::char_traits<char>, std::allocator<char>>> &,
__gnu_cxx::__normal_iterator<const char *, std::basic_string<char,
std::char_traits<char>, std::allocator<char>>> &, qpid::broker::Token &)()
282 else if (std::isdigit(*t)) {++t; state = EXPONENT;}
283 else if (*t=='f' || *t=='F' || *t=='d' || *t=='D') {tokType =
T_NUMERIC_APPROX; state = ACCEPT_INC;}
284 else {tokType = T_NUMERIC_APPROX; state = ACCEPT_NOINC;}
285 continue;
286 case ACCEPT_INC:
287 ++t;
>>> CID 1323156: Control flow issues (MISSING_BREAK)
>>> The above case falls through to this one.
288 case ACCEPT_NOINC:
289 tok = Token(tokType, s, t);
290 s = t;
291 return true;
292 case ACCEPT_IDENTIFIER:
293 tok = Token(T_IDENTIFIER, s, t);
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/apache-qpid?tab=overview
To manage Coverity Scan email notifications for "[email protected]", click
https://scan.coverity.com/subscriptions/edit?email=dev%40qpid.apache.org&token=60991677ffaf52c2eed1d29bf727edf0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]