-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix warnings #41
Fix warnings #41
Conversation
d522872
to
fbd2087
Compare
698da3b
to
71c0ecd
Compare
Review status: 0 of 13 files reviewed at latest revision, 2 unresolved discussions. auto_tests/dht_test.c, line 351 [r1] (raw file):
Why is this code compiled-out? The same remark applies to other commented-out sections below. testing/tox_shell.c, line 83 [r1] (raw file):
Are you freeing on return from main to get a clean valgrind output? Comments from Reviewable |
Reviewed 13 of 13 files at r1. Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. auto_tests/dht_test.c, line 351 [r1] (raw file):
|
Review status: all files reviewed at latest revision, 1 unresolved discussion. auto_tests/dht_test.c, line 351 [r1] (raw file):
|
Review status: 12 of 13 files reviewed at latest revision, 1 unresolved discussion. auto_tests/dht_test.c, line 351 [r1] (raw file):
|
Reviewed 1 of 1 files at r2. Comments from Reviewable |
Review status: all files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
@@ -382,7 +382,8 @@ int handle_rtp_packet (Messenger *m, uint32_t friendnumber, const uint8_t *data, | |||
session->mp = new_message(ntohs(header->tlen) + sizeof(struct RTPHeader), data, length); | |||
|
|||
/* Reposition data if necessary */ | |||
if (ntohs(header->cpart)); | |||
if (ntohs(header->cpart)) | |||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of this? This statement has no effect on anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is something that's been in toxav for some time. I had it fixed in a ToxAV branch I was working on, but I abandoned it before it got merged. That's the only reason it still exists, irungentoo and mannol were both aware, but waiting to merge this fix with my AV changes.
This change is