Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbourelly999 committed Mar 25, 2024
1 parent b22acc1 commit ea59740
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tmx/TmxCore/src/MessageRouterBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ void MessageRouterBasic::broadcastMessage(MessageReceiver *sender, IvpMessage *m
//PerformanceTimer timer;

pthread_mutex_lock(&this->mActiveBroadcastsLock);
// Volatile type should not be used in compound operations cpp:S6191
this->mActiveBroadcasts++;
pthread_mutex_unlock(&this->mActiveBroadcastsLock);

Expand Down Expand Up @@ -107,7 +106,6 @@ void MessageRouterBasic::broadcastMessage(MessageReceiver *sender, IvpMessage *m
}
}

// Volatile type should not be used in compound operations cpp:S6191
pthread_mutex_lock(&this->mActiveBroadcastsLock);
this->mActiveBroadcasts--;
pthread_mutex_unlock(&this->mActiveBroadcastsLock);
Expand Down

0 comments on commit ea59740

Please sign in to comment.