noxrepo / nox

The NOX Controller
Other
139 stars 85 forks source link

nox_main.cc: unused variable warning corrected. #16

Closed vitalivanov closed 11 years ago

vitalivanov commented 11 years ago

Issue #15

Correcting compilation warning by wrapping reliable functionality under RELIABLE_ENABLED macro.

../../src/nox_main.cc: In function ‘int main(int, char**)’: ../../src/nox_main.cc:293:10: warning: variable ‘reliable’ set but not used [-Wunused-but-set-variable]

tootoonchian commented 11 years ago

Shouldn't the macro be named UNRELIABLE_ENABLED since by default we have TCP (a reliable transport)?

vitalivanov commented 11 years ago

Corrected. Please check...