DO NOT REPLY [Bug 5287] New: FreeBSD pre10 compilation warnings report

samba-bugs at samba.org samba-bugs at samba.org
Wed Feb 27 19:22:48 GMT 2008


https://bugzilla.samba.org/show_bug.cgi?id=5287

           Summary: FreeBSD pre10 compilation warnings report
           Product: rsync
           Version: 3.0.0
          Platform: x86
        OS/Version: FreeBSD
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: 14709c93 at mailinator.com
         QAContact: rsync-qa at samba.org


rsync typically configures and compiles very cleanly.
This is an FYI for anyone that may like to tidy up
any valid issues before the release of 3.0.0.

FreeBSD RELENG_4
untar 3.0.0pre10
./configure
yields these arguments
gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c <.c> -o <.o>
make

rsync.c: In function `read_ndx_and_attrs':
rsync.c:213: warning: `flist' might be used uninitialized in this function
rsync.c: In function `set_file_attrs':
rsync.c:343: warning: unused parameter `fnamecmp'
generator.c: In function `delete_item':
generator.c:212: warning: `desc' might be used uninitialized in this function
generator.c: In function `unchanged_attrs':
generator.c:555: warning: unused parameter `fname'
generator.c: In function `itemize':
generator.c:597: warning: unused parameter `fnamecmp'
generator.c: In function `try_dests_non':
generator.c:1021: warning: `type' might be used uninitialized in this function
sender.c: In function `write_ndx_and_attrs':
sender.c:150: warning: unused parameter `fname'
sender.c:150: warning: unused parameter `file'
io.c: In function `mplex_write':
io.c:468: warning: unused parameter `convert'
uidlist.c: In function `match_uid':
uidlist.c:210: warning: comparison between signed and unsigned
uidlist.c: In function `match_gid':
uidlist.c:222: warning: comparison between signed and unsigned
uidlist.c:226: warning: comparison between signed and unsigned
uidlist.c: In function `add_uid':
uidlist.c:249: warning: comparison between signed and unsigned
uidlist.c: In function `add_gid':
uidlist.c:267: warning: comparison between signed and unsigned


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list