Bug 12667 - default/librpc/gen_ndr/py_dfs.c
Summary: default/librpc/gen_ndr/py_dfs.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:46 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:46:45 UTC
[1665/3257] Compiling default/librpc/gen_ndr/py_dfs.c
default/librpc/gen_ndr/py_dfs.c:6153:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_netdfs.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_dfs.c:6234:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_netdfs.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
default/librpc/gen_ndr/py_dfs.c:6353:33: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ndr_table_netdfs.num_calls < 0) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
3 warnings generated.
Comment 1 Andrew Bartlett 2017-06-27 19:31:31 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:54 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,