From aff98801acf8f627d317c1f30cd6f59af55dbf79 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 19 Oct 2016 12:30:36 +0200 Subject: [PATCH] Replace NULL with false as a return value * cgraph.h (cgraph_edge::binds_to_current_def_p): Replace NULL with false as a return value. From-SVN: r241336 --- gcc/ChangeLog | 5 +++++ gcc/cgraph.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4117eb34637..59b00d164f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-19 Martin Liska + + * cgraph.h (cgraph_edge::binds_to_current_def_p): + Replace NULL with false as a return value. + 2016-10-19 Thomas Schwinge PR tree-optimization/78024 diff --git a/gcc/cgraph.h b/gcc/cgraph.h index ecafe63a536..cc730d2faf1 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -3042,7 +3042,7 @@ cgraph_edge::binds_to_current_def_p () if (callee) return callee->binds_to_current_def_p (caller); else - return NULL; + return false; } /* Return true if the TM_CLONE bit is set for a given FNDECL. */ -- 2.30.2