Fix ARI warning on gdb/typeprint.c:whatis_exp
I forgot to indent the "if" clause properly and put the "&&" at the beginning of the line, so ARI complained. This commit fixed it. gdb/ChangeLog: 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com> * typeprint.c (whatis_exp): Fix ARI warning and reindent "if" condition.
This commit is contained in:
parent
09da3ecf04
commit
46afe196ec
|
@ -1,3 +1,8 @@
|
||||||
|
2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||||
|
|
||||||
|
* typeprint.c (whatis_exp): Fix ARI warning and reindent "if"
|
||||||
|
condition.
|
||||||
|
|
||||||
2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
|
2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||||
Pedro Alves <palves@redhat.com>
|
Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
|
|
@ -446,9 +446,9 @@ whatis_exp (const char *exp, int show)
|
||||||
{
|
{
|
||||||
/* Filter out languages which don't implement the
|
/* Filter out languages which don't implement the
|
||||||
feature. */
|
feature. */
|
||||||
if (show > 0 &&
|
if (show > 0
|
||||||
(current_language->la_language == language_c
|
&& (current_language->la_language == language_c
|
||||||
|| current_language->la_language == language_cplus))
|
|| current_language->la_language == language_cplus))
|
||||||
{
|
{
|
||||||
flags.print_offsets = 1;
|
flags.print_offsets = 1;
|
||||||
flags.print_typedefs = 0;
|
flags.print_typedefs = 0;
|
||||||
|
|
Loading…
Reference in New Issue