diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2017-12-15 22:33:07 -0500 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2017-12-15 22:33:07 -0500 |
commit | 46afe196ec282505dcd2727725bfb5ef87ea4b21 (patch) | |
tree | 9aefd336f543b33381d42e462e070c8bae561292 /gdb/typeprint.c | |
parent | 09da3ecf04d75084ea7d9c43e3cc0b18b2443ea3 (diff) |
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.
Diffstat (limited to 'gdb/typeprint.c')
-rw-r--r-- | gdb/typeprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/typeprint.c b/gdb/typeprint.c index 15a62bef3c..0a7590b66d 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; |