[SERVER-13617] Clean up some -Wextra warnings Created: 16/Apr/14 Updated: 11/Jul/16 Resolved: 01/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 2.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| Description |
|
For this pass will ignore -Wunused-parameter and -Wmissing-field-initializers since I don't think we want to fix them. |
| Comments |
| Comment by Githook User [ 01/May/14 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: GCC with -Wextra gives the following message in these cases: ordered comparison of pointer with integer zero |
| Comment by Githook User [ 01/May/14 ] |
|
Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: These tripped -Wignored-qualifiers on clang. With this change we now compile -Wno-unused-parameter |