mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Fix uninitialised mBobAccessible in ServerPage::ServerPage
Conditional jump or move depends on uninitialised value(s) in ServerPage::updateStatusBob() in /retroshare-gui/src/gui/settings/ ServerPage.cpp:1770
This commit is contained in:
parent
bcb43cb9a1
commit
d280d2c8e9
1 changed files with 4 additions and 4 deletions
|
@ -75,14 +75,14 @@ const static uint32_t TAB_RELAYS = 3;
|
||||||
//#define SERVER_DEBUG 1
|
//#define SERVER_DEBUG 1
|
||||||
|
|
||||||
ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
|
ServerPage::ServerPage(QWidget * parent, Qt::WindowFlags flags)
|
||||||
: ConfigPage(parent, flags), mIsHiddenNode(false), mHiddenType(RS_HIDDEN_TYPE_NONE)
|
: ConfigPage(parent, flags)
|
||||||
|
, manager(NULL), mOngoingConnectivityCheck(-1)
|
||||||
|
, mIsHiddenNode(false), mHiddenType(RS_HIDDEN_TYPE_NONE)
|
||||||
|
, mBobAccessible(false)
|
||||||
{
|
{
|
||||||
/* Invoke the Qt Designer generated object setup routine */
|
/* Invoke the Qt Designer generated object setup routine */
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
|
|
||||||
manager = NULL ;
|
|
||||||
mOngoingConnectivityCheck = -1;
|
|
||||||
|
|
||||||
#ifndef RS_USE_I2P_BOB
|
#ifndef RS_USE_I2P_BOB
|
||||||
ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB); // warning: the order of operation here is very important.
|
ui.hiddenServiceTab->removeTab(TAB_HIDDEN_SERVICE_I2P_BOB); // warning: the order of operation here is very important.
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue