Merge pull request #3146 from Diapolo/paymentserver_init

paymentserver: init all class members in constructor
This commit is contained in:
Wladimir J. van der Laan 2013-10-24 08:52:58 -07:00
commit 356587686c

View file

@ -250,7 +250,12 @@ bool PaymentServer::ipcSendCommandLine(int argc, char* argv[])
return fResult;
}
PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) : QObject(parent), saveURIs(true)
PaymentServer::PaymentServer(QObject* parent, bool startLocalServer) :
QObject(parent),
saveURIs(true),
uriServer(0),
netManager(0),
optionsModel(0)
{
// Verify that the version of the library that we linked against is
// compatible with the version of the headers we compiled against.