public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16014] New: Coding error: 2 * sizeof( sizeof())
@ 2013-10-08  7:53 dcb314 at hotmail dot com
  2013-10-08 16:25 ` [Bug gdb/16014] " tromey at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2013-10-08  7:53 UTC (permalink / raw)
  To: gdb-prs

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.


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

end of thread, other threads:[~2013-10-16  2:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-08  7:53 [Bug gdb/16014] New: Coding error: 2 * sizeof( sizeof()) dcb314 at hotmail dot com
2013-10-08 16:25 ` [Bug gdb/16014] " tromey at redhat dot com
2013-10-08 17:33 ` dcb314 at hotmail dot com
2013-10-16  2:55 ` cvs-commit at gcc dot gnu.org
2013-10-16  2:58 ` sergiodj at redhat 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).