This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiler warnings when building latest cygwin cvs with gcc-4.6 (2/2)


On 29/03/2012 10:36 AM, Ryan Johnson wrote:
Patch 2: fix compiler misc. warnings
        * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix harmless
        out of bounds array access.
        * hookapi.cc (find_first_notloaded_dll): Remove write-only
        variable.
        * net.cc (inet_ntop6): Initialize possibly-uninitialized
        variables; probably a spurious warning from gcc-4.6.
        * path.cc (symlink_info::check): Remove write-only variable.
        (cygwin_conv_path_list): Ditto.
        * pinfo.cc (pinfo::init): Ditto.
        (_pinfo::commune_request): Ditto.
        * sched.cc (sched_setparam): Mark write-only variable unused.
        * sec_acl.cc (aclcheck32): Ditto.
        * sigproc.cc (proc_subproc): Remove write-only variable.
        * spawn.cc (child_info_spawn::worker): Ditto.

Attachment: gcc-4.6-warnings.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]