Bug 12661 - default/librpc/gen_ndr/py_atsvc.c
default/librpc/gen_ndr/py_atsvc.c
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.6.0
x64 Mac OS X
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-11 17:43 UTC by Ruga
Modified: 2017-06-27 19:32 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:43:56 UTC
[1658/3257] Compiling default/librpc/gen_ndr/py_atsvc.c
default/librpc/gen_ndr/py_atsvc.c:1103:32: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_atsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_atsvc.c:1184:32: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_atsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_atsvc.c:1303:32: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_atsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
3 warnings generated.
Comment 1 Andrew Bartlett 2017-06-27 19:31:28 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:32:50 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,