diff src/cpu/zero/vm/relocInfo_zero.cpp @ 12077:e16282db4946

8022956: Clang: enable return type warnings on BSD Reviewed-by: coleenp, sla
author twisti
date Tue, 20 Aug 2013 10:57:50 -0700
parents 7875ea94bea5
children de6a9e811145
line wrap: on
line diff
--- a/src/cpu/zero/vm/relocInfo_zero.cpp	Mon Aug 19 09:33:29 2013 +0200
+++ b/src/cpu/zero/vm/relocInfo_zero.cpp	Tue Aug 20 10:57:50 2013 -0700
@@ -37,6 +37,7 @@
 
 address Relocation::pd_call_destination(address orig_addr) {
   ShouldNotCallThis();
+  return NULL;
 }
 
 void Relocation::pd_set_call_destination(address x) {
@@ -45,6 +46,7 @@
 
 address Relocation::pd_get_address_from_code() {
   ShouldNotCallThis();
+  return NULL;
 }
 
 address* Relocation::pd_address_in_code() {