From: Martin Liska Date: Wed, 19 Oct 2016 10:30:36 +0000 (+0200) Subject: Replace NULL with false as a return value X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aff98801acf8f627d317c1f30cd6f59af55dbf79;p=gcc.git 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 --- 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. */