From 5433e40109e4d846c93a156160ec08edba34fed1 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 25 Sep 2018 09:13:59 +0200 Subject: Fix small coding style issues (PR fortran/87394). 2018-09-25 Martin Liska 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 PR fortran/87394 * decl.c (add_hidden_procptr_result): Simplify condition as we are in branch witch 'case1 || case2'. From-SVN: r264562 --- gcc/godump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/godump.c') 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 -- cgit v1.1