Bug 12662 - default/librpc/gen_ndr/py_nbt.c
Summary: default/librpc/gen_ndr/py_nbt.c
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.6.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-11 17:44 UTC by Ruga
Modified: 2017-06-27 19:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-11 17:44:31 UTC
[1659/3257] Compiling default/librpc/gen_ndr/py_nbt.c
default/librpc/gen_ndr/py_nbt.c:15676:30: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_nbt.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_nbt.c:15757:30: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_nbt.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_nbt.c:15876:30: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_nbt.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
3 warnings generated.
Comment 1 Andrew Bartlett 2017-06-27 19:30:24 UTC
Please do not bulk-report generic compiler warnings via bugzilla.  (Unless you have a tested patch). 

Some of these have already been fixed by 67040cf61232dd1cdcc820237919ac1e073c31c2 in master for 4.7

Sorry,
Comment 2 Andrew Bartlett 2017-06-27 19:33:15 UTC
Please do not bulk-report generic compiler warnings via bugzilla.  (Unless you have a tested patch). 

Some of these have already been fixed by 67040cf61232dd1cdcc820237919ac1e073c31c2 in master for 4.7

Sorry,