Skip to content

Commit

Permalink
clean up compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Jun 29, 2020
1 parent 5549b5c commit 026cb9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/packetnetwork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ void PacketNetwork::init()
QSettings settings(SETTINGSFILE, QSettings::IniFormat);

QList<int> udpPortList, tcpPortList, sslPortList;
int udpPort, tcpPort, sslPort;
int udpPort = 0;
int tcpPort = 0;
int sslPort = 0;

udpPortList = Settings::portsToIntList(settings.value("udpPort", "0").toString());
tcpPortList = Settings::portsToIntList(settings.value("tcpPort", "0").toString());
Expand Down

0 comments on commit 026cb9d

Please sign in to comment.