~ chicken-core (chicken-5) f89c87539f9157fd199c78240709a70148299f1e


commit f89c87539f9157fd199c78240709a70148299f1e
Author:     Jim Ursetto <zbigniewsz@gmail.com>
AuthorDate: Fri Sep 14 09:45:23 2012 -0500
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Fri Sep 14 19:50:09 2012 +0200

    Silence clang return type warnings by removing else keyword after calls to C_div_by_zero_error
    
    Signed-off-by: felix <felix@call-with-current-continuation.org>

diff --git a/chicken.h b/chicken.h
index f82c708d..5ead3615 100644
--- a/chicken.h
+++ b/chicken.h
@@ -2288,14 +2288,14 @@ C_inline C_word C_i_fixnum_max(C_word x, C_word y)
 C_inline C_word C_fixnum_divide(C_word x, C_word y)
 {
   if(y == C_fix(0)) C_div_by_zero_error("fx/");
-  else return C_u_fixnum_divide(x, y);
+  return C_u_fixnum_divide(x, y);
 }
 
 
 C_inline C_word C_fixnum_modulo(C_word x, C_word y)
 {
   if(y == C_fix(0)) C_div_by_zero_error("fxmod");
-  else return C_u_fixnum_modulo(x, y);
+  return C_u_fixnum_modulo(x, y);
 }
 
 
@@ -2332,7 +2332,7 @@ C_a_i_flonum_quotient_checked(C_word **ptr, int c, C_word n1, C_word n2)
   double n3 = C_flonum_magnitude(n2);
 
   if(n3 == 0.0) C_div_by_zero_error("fp/?");
-  else return C_flonum(ptr, C_flonum_magnitude(n1) / n3);
+  return C_flonum(ptr, C_flonum_magnitude(n1) / n3);
 }
 
 
@@ -2340,7 +2340,7 @@ C_inline double
 C_ub_i_flonum_quotient_checked(double n1, double n2)
 {
   if(n2 == 0.0) C_div_by_zero_error("fp/?");
-  else return n1 / n2;
+  return n1 / n2;
 }
 
 
Trap