aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbgcnt.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/dbgcnt.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/dbgcnt.c')
-rw-r--r--gcc/dbgcnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbgcnt.c b/gcc/dbgcnt.c
index ddb0e8e7..1eea658 100644
--- a/gcc/dbgcnt.c
+++ b/gcc/dbgcnt.c
@@ -138,7 +138,7 @@ dbg_cnt_process_single_pair (const char *arg)
int high, low;
if (value1 == NULL)
- return NULL;
+ return false;
if (value2 == NULL)
{