aboutsummaryrefslogtreecommitdiff
path: root/gcc/godump.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-09-25 09:13:59 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-09-25 07:13:59 +0000
commit5433e40109e4d846c93a156160ec08edba34fed1 (patch)
tree81f98ec69795d0e351ae32731bfea8400d4cb4e8 /gcc/godump.c
parent72744f65a25d36f9cef92d3889ad3f9cb2d4b81e (diff)
downloadgcc-5433e40109e4d846c93a156160ec08edba34fed1.zip
gcc-5433e40109e4d846c93a156160ec08edba34fed1.tar.gz
gcc-5433e40109e4d846c93a156160ec08edba34fed1.tar.bz2
Fix small coding style issues (PR fortran/87394).
2018-09-25 Martin Liska <mliska@suse.cz> PR fortran/87394 * dbgcnt.c (dbg_cnt_process_single_pair): Return false instead of NULL. * dumpfile.c (dump_enable_all): Remove extra parenthesis. * gcov-tool.c: Declare the function with ATTRIBUTE_NORETURN. * godump.c (go_format_type): Remove extra parenthesis. 2018-09-25 Martin Liska <mliska@suse.cz> PR fortran/87394 * decl.c (add_hidden_procptr_result): Simplify condition as we are in branch witch 'case1 || case2'. From-SVN: r264562
Diffstat (limited to 'gcc/godump.c')
-rw-r--r--gcc/godump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/godump.c b/gcc/godump.c
index 88e1a77..baf21e2 100644
--- a/gcc/godump.c
+++ b/gcc/godump.c
@@ -961,7 +961,7 @@ go_format_type (struct godump_container *container, tree type,
unions. */
if (!is_anon_substructure)
{
- if ((DECL_NAME (field) == NULL))
+ if (DECL_NAME (field) == NULL)
*p_art_i = go_append_artificial_name (ob, *p_art_i);
else
go_append_decl_name