This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/16014] New: Coding error: 2 * sizeof( sizeof())
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 08 Oct 2013 07:53:06 +0000
- Subject: [Bug gdb/16014] New: Coding error: 2 * sizeof( sizeof())
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16014
Bug ID: 16014
Summary: Coding error: 2 * sizeof( sizeof())
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
I got the static analysis tool "cppcheck" to say
[gdb-7.6.1/gdb/dwarf2read.c:2970]: (warning) Calling 'sizeof' on 'sizeof'.
[gdb-7.6.1/gdb/gdbserver/tracepoint.c:5994]: (warning) Calling 'sizeof' on
'sizeof'.
Suggest remove one of the sizeofs, in each case.
--
You are receiving this mail because:
You are on the CC list for the bug.