Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nox_main.cc: unused variable warning corrected. #16

Merged
merged 2 commits into from
Sep 3, 2013

Conversation

vitalivanov
Copy link
Contributor

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]

Issue noxrepo#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
Copy link
Collaborator

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

Issue noxrepo#15

Correcting name of the macro according to review comments.
@vitalivanov
Copy link
Contributor Author

Corrected. Please check...

tootoonchian added a commit that referenced this pull request Sep 3, 2013
nox_main.cc: unused variable warning corrected.
@tootoonchian tootoonchian merged commit 9013659 into noxrepo:verity Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants