xfs-masters
[Top] [All Lists]

[Bug 928] New: Build warnings

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 928] New: Build warnings
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sun, 2 Sep 2012 18:14:56 -0500
Auto-submitted: auto-generated
http://oss.sgi.com/bugzilla/show_bug.cgi?id=928

           Summary: Build warnings
           Product: XFS
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: xfsprogs
        AssignedTo: xfs-masters@xxxxxxxxxxx
        ReportedBy: bruce.dubbs@xxxxxxxxx
   Estimated Hours: 0.0
    Classification: Unclassified


xfsprogs-3.1.8 needs a little attention to detail, especially 

  array subscript is above array bounds 
  control reaches end of non-void function

    [CC]     rdwr.lo
rdwr.c: In function 'libxfs_getbuf_flags':
rdwr.c:404:7: warning: variable 'miss' set but not used
[-Wunused-but-set-variable]

    [CC]     xfs_alloc.lo
xfs_alloc.c: In function 'xfs_free_ag_extent':
xfs_alloc.c:1606:2: warning: variable '__foo' set but not used
[-Wunused-but-set-variable]

    [CC]     xfs_alloc_btree.lo
xfs_alloc_btree.c: In function 'xfs_allocbt_free_block':
xfs_alloc_btree.c:112:2: warning: variable '__foo' set but not used
[-Wunused-but-set-variable]

    [CC]     xfs_da_btree.lo
xfs_da_btree.c: In function 'xfs_da_root_join':
xfs_da_btree.c:682:20: warning: variable 'blkinfo' set but not used
[-Wunused-but-set-variable]

    [CC]     xfs_dir2_leaf.lo
xfs_dir2_leaf.c: In function 'xfs_dir2_leaf_compact':
xfs_dir2_leaf.c:601:31: warning: array subscript is above array bounds
[-Warray-bounds]

    [CC]     xfs_dir2_block.lo
xfs_dir2_block.c: In function 'xfs_dir2_sf_to_block':
xfs_dir2_block.c:1029:26: warning: array subscript is above array bounds
[-Warray-bounds]

    [CC]     xfs_mount.lo
xfs_mount.c: In function 'xfs_perag_get':
xfs_mount.c:85:8: warning: variable 'ref' set but not used
[-Wunused-but-set-variable]
xfs_mount.c: In function 'xfs_perag_put':
xfs_mount.c:101:6: warning: variable 'ref' set but not used
[-Wunused-but-set-variable]

    [CC]     xfs_attr.lo
xfs_attr.c: In function 'xfs_attr_rmtval_remove':
xfs_attr.c:1729:14: warning: variable 'dblkno' set but not used
[-Wunused-but-set-variable]

   [CC]     xfs_log_recover.lo
xfs_log_recover.c: In function 'xlog_find_tail':
xfs_log_recover.c:667:13: warning: variable 'tail_lsn' set but not used
[-Wunused-but-set-variable]
   [CC]     xfs_copy.o
xfs_copy.c: In function 'read_ag_header':
xfs_copy.c:427:7: warning: variable 'length' set but not used
[-Wunused-but-set-variable]
xfs_copy.c: In function 'main':
xfs_copy.c:507:8: warning: variable 'btree_levels' set but not used
[-Wunused-but-set-variable]

    [CC]     bmroot.o
bmroot.c: In function 'bmroota_key_offset':
bmroot.c:95:17: warning: variable 'dip' set but not used
[-Wunused-but-set-variable]

    [CC]     dir2.o
dir2.c: In function 'dir2_block_u_offset':
dir2.c:293:10: warning: variable 'endptr' set but not used
[-Wunused-but-set-variable]
dir2.c: In function 'dir2_data_u_offset':
dir2.c:507:10: warning: variable 'endptr' set but not used
[-Wunused-but-set-variable]

   [CC]     attr_repair.o
attr_repair.c: In function 'process_attributes':
attr_repair.c:979:24: warning: variable 'asf' set but not used
[-Wunused-but-set-variable]

    [CC]     incore_ino.o
incore_ino.c: In function 'get_inode_disk_nlinks':
incore_ino.c:210:1: warning: control reaches end of non-void function
[-Wreturn-type]
incore_ino.c: In function 'num_inode_references':
incore_ino.c:170:1: warning: control reaches end of non-void function
[-Wreturn-type]

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 928] New: Build warnings, bugzilla-daemon <=