Bug 12656 - default/librpc/gen_ndr/py_srvsvc.c
Summary: default/librpc/gen_ndr/py_srvsvc.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:41 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:41:20 UTC
[1648/3257] Compiling default/librpc/gen_ndr/py_srvsvc.c
default/librpc/gen_ndr/py_srvsvc.c:34086:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_srvsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_srvsvc.c:34167:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_srvsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_srvsvc.c:34286:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_srvsvc.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
3 warnings generated.
[1649/3257] Compiling default/librpc/gen_ndr/py_echo.c
default/librpc/gen_ndr/py_echo.c:1608:34: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_rpcecho.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_echo.c:1689:34: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_rpcecho.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_echo.c:1808:34: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_rpcecho.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
3 warnings generated.
Comment 1 Andrew Bartlett 2017-06-27 19:31:09 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:13 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,