diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-09-14 15:49:43 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-14 23:40:18 +0200 |
commit | 51cffbdcb7f2a88c3cde381fa6ca704fd723c242 (patch) | |
tree | b73c157f5d82937dfa6744a259caf5212ce103e3 /examples/network/torrent | |
parent | 6827728d5ac0e878cf330ecaea09a0cb21a7424d (diff) |
examples: remove unused static const variables
They cause warnings on Clang.
Change-Id: If599303f4a00c2a24f0a7c369299f3ea6fe7fc91
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'examples/network/torrent')
-rw-r--r-- | examples/network/torrent/peerwireclient.cpp | 1 | ||||
-rw-r--r-- | examples/network/torrent/torrentclient.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/network/torrent/peerwireclient.cpp b/examples/network/torrent/peerwireclient.cpp index 0f77ba10d3..a0be01d363 100644 --- a/examples/network/torrent/peerwireclient.cpp +++ b/examples/network/torrent/peerwireclient.cpp @@ -49,7 +49,6 @@ static const int ConnectTimeout = 60 * 1000; static const int KeepAliveInterval = 30 * 1000; static const int RateControlTimerDelay = 2000; static const int MinimalHeaderSize = 48; -static const int FullHeaderSize = 68; static const char ProtocolId[] = "BitTorrent protocol"; static const char ProtocolIdSize = 19; diff --git a/examples/network/torrent/torrentclient.cpp b/examples/network/torrent/torrentclient.cpp index b5969e552e..2db74164ef 100644 --- a/examples/network/torrent/torrentclient.cpp +++ b/examples/network/torrent/torrentclient.cpp @@ -62,7 +62,6 @@ static const int RateControlTimerDelay = 1000; static const int MinimumTimeBeforeRevisit = 30; static const int MaxUploads = 4; static const int UploadScheduleInterval = 10000; -static const int EndGamePieces = 5; class TorrentPiece { public: |