ungroup/ungroup_game

View on GitHub
src/client/systems/NetworkingClient.cpp

Summary

Maintainability
Test Coverage

The function reliableRecv is never used.
Open

void NetworkingClient::reliableRecv() {

The function reliableRecv is never used. (detailed CWE explanation)

The scope of the variable port can be reduced.
Open

        unsigned short port;

The scope of the variable port can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for i can be reduced:\012void f(int x)\012{\012 int i = 0;\012 if (x) {\012 // its safe to moveint i = 0;here\012 for (int n = 0; n < 10; ++n) {\012 // it is possible but not safe to moveint i = 0;` here\012 do_something(&i);\012 }\012 }\012}\012When you see this message it is always safe to reduce the variable scope 1 level. (detailed CWE explanation)

There are no issues that match your filters.

Category
Status