mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Fix warning: this statement may fall through
/retroshare-gui/src/gui/statistics/BWGraph.cpp:245: warning: this statement may fall through [-Wimplicit-fallthrough=] case GRAPH_TYPE_ALL: std::cerr << "(WW) Impossible situation. Cannot draw graph in mode All/All. Reverting to sum." << std::endl;
This commit is contained in:
parent
f27ce82e22
commit
6fd03087d2
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ void BWGraphSource::convertTrafficClueToValues(const std::list<RSTrafficClue>& l
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
case GRAPH_TYPE_ALL: std::cerr << "(WW) Impossible situation. Cannot draw graph in mode All/All. Reverting to sum." << std::endl;
|
case GRAPH_TYPE_ALL: std::cerr << "(WW) Impossible situation. Cannot draw graph in mode All/All. Reverting to sum." << std::endl;
|
||||||
|
/* fallthrough */
|
||||||
case GRAPH_TYPE_SUM: // all friends, sum of services => one curve per friend
|
case GRAPH_TYPE_SUM: // all friends, sum of services => one curve per friend
|
||||||
{
|
{
|
||||||
RSTrafficClue total ;
|
RSTrafficClue total ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue