]> Kevux Git Server - fll/commitdiff
Update: return f_unknown at end of f_is_digit
authorKevin Day <kevin@kevux.org>
Sat, 9 Jun 2012 04:25:40 +0000 (23:25 -0500)
committerKevin Day <kevin@kevux.org>
Sat, 9 Jun 2012 04:25:40 +0000 (23:25 -0500)
If for some reason the end of the function is reached, f_unknown is returned.
This should be impossible and if compilers give an error, then that line can be removed.

level_0/f_conversion/c/conversion.c

index ce40dba81b7a6328ba0930a46df73bf77fe9820b..dbf94d6c9b1d4e4fc316d8d3e8f79eea1aae982a 100644 (file)
@@ -30,6 +30,7 @@ extern "C"{
         return f_false;
     }
 
+    return f_unknown;
   }
 #endif // _di_f_is_digit_