From: Sergio Durigan Junior Date: Sat, 16 Dec 2017 03:33:07 +0000 (-0500) Subject: Fix ARI warning on gdb/typeprint.c:whatis_exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46afe196ec282505dcd2727725bfb5ef87ea4b21;p=binutils-gdb.git 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 * typeprint.c (whatis_exp): Fix ARI warning and reindent "if" condition. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2200f63dedc..bd2934e32b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-12-15 Sergio Durigan Junior + + * typeprint.c (whatis_exp): Fix ARI warning and reindent "if" + condition. + 2017-12-15 Sergio Durigan Junior Pedro Alves diff --git a/gdb/typeprint.c b/gdb/typeprint.c index 15a62bef3cb..0a7590b66dc 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -446,9 +446,9 @@ whatis_exp (const char *exp, int show) { /* Filter out languages which don't implement the feature. */ - if (show > 0 && - (current_language->la_language == language_c - || current_language->la_language == language_cplus)) + if (show > 0 + && (current_language->la_language == language_c + || current_language->la_language == language_cplus)) { flags.print_offsets = 1; flags.print_typedefs = 0;