public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/17816] New: gdb/m32c-tdep.c:1244: Same expression in both branches of ternary operator
@ 2015-01-08 16:15 dcb314 at hotmail dot com
  0 siblings, 0 replies; only message in thread
From: dcb314 at hotmail dot com @ 2015-01-08 16:15 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17816

            Bug ID: 17816
           Summary: gdb/m32c-tdep.c:1244: Same expression in both branches
                    of ternary operator
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com

>From today's trunk of gdb:

[binutils-gdb/gdb/m32c-tdep.c:1244]: (style) Same expression in both branches
of ternary operator.

Source code is

    case 0x0: sd.reg = (size == 1 ? &st->r0 : &st->r0); break;

Suggest code rework.

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-08 16:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 16:15 [Bug gdb/17816] New: gdb/m32c-tdep.c:1244: Same expression in both branches of ternary operator dcb314 at hotmail dot com

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).