This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/1335: -Wformat-nonliteral vs valprint.c - delete la_format?


>Number:         1335
>Category:       gdb
>Synopsis:       -Wformat-nonliteral vs valprint.c - delete la_format?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          maintenance
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 16 17:58:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
valprint.c uses the string returned by local_hex_format et.al. as a printf format parameter.  This makes -Wformat-nonliteral grumpy.

One potential source of these strings - struct language_format_info . la_format - turns out to not be used (well I couldn't find any uses).

Delete it?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]