From b9d4651f07ee880d34acb56df852571847460003 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sat, 15 Jul 2017 11:17:02 +0200 Subject: [PATCH] Fix warning: this statement may fall through /libretroshare/src/pqi/pqisslpersongrp.cc:125: warning: this statement may fall through [-Wimplicit-fallthrough=] std::cerr << " --> falling back to Tor" << std::endl; /libretroshare/src/pqi/pqisslpersongrp.cc:126: here case RS_HIDDEN_TYPE_TOR: --- libretroshare/src/pqi/pqisslpersongrp.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/pqi/pqisslpersongrp.cc b/libretroshare/src/pqi/pqisslpersongrp.cc index 6e6847dc0..432ba1bbf 100644 --- a/libretroshare/src/pqi/pqisslpersongrp.cc +++ b/libretroshare/src/pqi/pqisslpersongrp.cc @@ -123,6 +123,7 @@ pqiperson * pqisslpersongrp::locked_createPerson(const RsPeerId& id, pqilistener std::cerr << " - mPeerMgr->isHiddenPeer(id): " << mPeerMgr->isHiddenPeer(id) << std::endl; std::cerr << " - hidden types: peer=" << typePeer << " own=" << typeOwn << std::endl; std::cerr << " --> falling back to Tor" << std::endl; + /* fallthrough */ case RS_HIDDEN_TYPE_TOR: pqip -> addChildInterface(PQI_CONNECT_HIDDEN_TOR_TCP, pqicSOCKSProxy); break;