diff options
author | Martin Liska <mliska@suse.cz> | 2016-10-19 12:30:36 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-10-19 10:30:36 +0000 |
commit | aff98801acf8f627d317c1f30cd6f59af55dbf79 (patch) | |
tree | c7e73271e3b28674de8892a742e53874152db66e /gcc | |
parent | a023f8c8dc9ef41f4212b964326a2d16a3f00b27 (diff) | |
download | gcc-aff98801acf8f627d317c1f30cd6f59af55dbf79.zip gcc-aff98801acf8f627d317c1f30cd6f59af55dbf79.tar.gz gcc-aff98801acf8f627d317c1f30cd6f59af55dbf79.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cgraph.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4117eb3..59b00d16 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-10-19 Martin Liska <mliska@suse.cz> + + * cgraph.h (cgraph_edge::binds_to_current_def_p): + Replace NULL with false as a return value. + 2016-10-19 Thomas Schwinge <thomas@codesourcery.com> PR tree-optimization/78024 diff --git a/gcc/cgraph.h b/gcc/cgraph.h index ecafe63..cc730d2 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. */ |