[Bug 1001951] New: ConfigTool - Patch to resolve miscellaneous warnings

[email protected] Mon, 24 Feb 2014 18:30:46 +0000
Newsgroups gmane.os.ecos.patches
Message-ID <[email protected]/>
Please do not reply to this email, use the link below.

http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001951

            Bug ID: 1001951
           Summary: ConfigTool - Patch to resolve miscellaneous warnings
           Product: eCos
           Version: CVS
            Target: All
  Architecture/Host HostOS: Win XP/7
                OS:
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: low
         Component: Patches and contributions
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 2462
  --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2462&action=edit
Patch to resolve miscellaneous warnings

This patch resolves a number of warnings when ConfigTool is built using gcc 4.8
and -Wall. Tested on Windows but should apply to all platforms.

The patch addresses the following warnings:

1. Long data being passed to printf as a %d (2 instances)
2. Switch statements that don't cover all possible values (2 instances)
3. A multi-line comment
4. An unused static function


This follows on from the patch in 1001950.

-- 
You are receiving this mail because:
You are on the CC list for the bug.