This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/17816] New: gdb/m32c-tdep.c:1244: Same expression in both branches of ternary operator
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 08 Jan 2015 16:15:58 +0000
- Subject: [Bug gdb/17816] New: gdb/m32c-tdep.c:1244: Same expression in both branches of ternary operator
- Auto-submitted: auto-generated
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.