public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001505] New: Fix compiler warning about unused 'in_use' variable.
@ 2012-03-02 17:22 bugzilla-daemon
  2012-03-03  4:17 ` [Bug 1001505] " bugzilla-daemon
  2012-03-06 18:57 ` bugzilla-daemon
  0 siblings, 2 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-02 17:22 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001505

           Summary: Fix compiler warning about unused 'in_use' variable.
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: Kernel
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: grant.b.edwards@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1605)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1605)
Patch to fix compiler warning about set-but-unreferenced variable.

In attach(), the 'in_use' variable is set but never used when asserts
are disabled.  This patch marks the variable with CYGBLD_ATTRIB_UNUSED
to tell the compiler that it's intentionally unused and prevent the
warning.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1001505] Fix compiler warning about unused 'in_use' variable.
  2012-03-02 17:22 [Bug 1001505] New: Fix compiler warning about unused 'in_use' variable bugzilla-daemon
@ 2012-03-03  4:17 ` bugzilla-daemon
  2012-03-06 18:57 ` bugzilla-daemon
  1 sibling, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-03  4:17 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001505

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1605|                            |assignment+, review+
               Flag|                            |

--- Comment #1 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-03 04:17:03 GMT ---
(From update of attachment 1605)
After you add a newline after first line of the ChangeLog, this is fine. Please
commit.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1001505] Fix compiler warning about unused 'in_use' variable.
  2012-03-02 17:22 [Bug 1001505] New: Fix compiler warning about unused 'in_use' variable bugzilla-daemon
  2012-03-03  4:17 ` [Bug 1001505] " bugzilla-daemon
@ 2012-03-06 18:57 ` bugzilla-daemon
  1 sibling, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-06 18:57 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001505

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NEXTRELEASE

--- Comment #2 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 18:57:06 GMT ---
Committed:

/cvs/ecos/ecos/packages/kernel/current/ChangeLog,v  <--  ChangeLog
new revision: 1.159; previous revision: 1.158

/cvs/ecos/ecos/packages/kernel/current/src/intr/intr.cxx,v  <--  intr.cxx
new revision: 1.20; previous revision: 1.19

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 1001505] New: Fix compiler warning about unused 'in_use' variable.
@ 2012-03-02 17:22 bugzilla-daemon
  0 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-02 17:22 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001505

           Summary: Fix compiler warning about unused 'in_use' variable.
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: Kernel
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: grant.b.edwards@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1605)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1605)
Patch to fix compiler warning about set-but-unreferenced variable.

In attach(), the 'in_use' variable is set but never used when asserts
are disabled.  This patch marks the variable with CYGBLD_ATTRIB_UNUSED
to tell the compiler that it's intentionally unused and prevent the
warning.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-06 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-02 17:22 [Bug 1001505] New: Fix compiler warning about unused 'in_use' variable bugzilla-daemon
2012-03-03  4:17 ` [Bug 1001505] " bugzilla-daemon
2012-03-06 18:57 ` bugzilla-daemon
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02 17:22 [Bug 1001505] New: " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).