mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fixed warnings
This commit is contained in:
parent
1b0ce510f6
commit
f2dfa6b978
3 changed files with 2 additions and 8 deletions
|
@ -327,8 +327,8 @@ void Stats::display(
|
|||
verticalOffset += STATS_PELS_PER_LINE;
|
||||
drawText(horizontalOffset, verticalOffset, scale, rotation, font, voxelMaxPing, color);
|
||||
|
||||
char* audioMixerJitterBuffersStatsLabel = "AudioMixer stream stats:";
|
||||
char* audioMixerJitterBuffersStatsLabel2 = "early/late/lost, jframes";
|
||||
char audioMixerJitterBuffersStatsLabel[] = "AudioMixer stream stats:";
|
||||
char audioMixerJitterBuffersStatsLabel2[] = "early/late/lost, jframes";
|
||||
|
||||
verticalOffset += STATS_PELS_PER_LINE;
|
||||
drawText(horizontalOffset, verticalOffset, scale, rotation, font, audioMixerJitterBuffersStatsLabel, color);
|
||||
|
|
|
@ -21,10 +21,6 @@
|
|||
#include "OctreeSceneStats.h"
|
||||
|
||||
|
||||
const uint16_t MAX_MISSING_SEQUENCE = 100; /// how many items in our _missingSequenceNumbers before we start to prune them
|
||||
const uint16_t MAX_MISSING_SEQUENCE_OLD_AGE = 1000; /// age we allow items in _missingSequenceNumbers to be before pruning
|
||||
|
||||
|
||||
const int samples = 100;
|
||||
OctreeSceneStats::OctreeSceneStats() :
|
||||
_isReadyToSend(false),
|
||||
|
|
|
@ -149,7 +149,6 @@ void SequenceNumberStatsTests::duplicateTest() {
|
|||
}
|
||||
|
||||
// skip 10
|
||||
quint16 skipped = seq;
|
||||
seq = seq + (quint16)10;
|
||||
|
||||
|
||||
|
@ -214,7 +213,6 @@ void SequenceNumberStatsTests::pruneTest() {
|
|||
int numSent = 0;
|
||||
|
||||
int numEarly = 0;
|
||||
int numLate = 0;
|
||||
int numLost = 0;
|
||||
|
||||
for (int R = 0; R < 2; R++) {
|
||||
|
|
Loading…
Reference in a new issue