diff options
author | Michael Gran <spk121@yahoo.com> | 2009-09-02 06:45:05 -0700 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2009-09-02 06:45:05 -0700 |
commit | aa2cba9c882ba8bd69750b120d2b7ccd7250b562 (patch) | |
tree | 3a36bbdfee88023126cd11c17a8852e261a15c58 /libguile/srfi-14.c | |
parent | 4d07801b214c83761b6669b10dc0608c3081043b (diff) | |
download | guile-aa2cba9c882ba8bd69750b120d2b7ccd7250b562.tar.gz |
Remove always-true range checks in scm_i_ucs_range_to_char_set
* libguile/srfi-14.c (scm_i_ucs_range_to_char_set): limits are always
non-negative due to the type of the variable
Diffstat (limited to 'libguile/srfi-14.c')
-rw-r--r-- | libguile/srfi-14.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libguile/srfi-14.c b/libguile/srfi-14.c index 7dc04f1f4..33b508d21 100644 --- a/libguile/srfi-14.c +++ b/libguile/srfi-14.c @@ -1333,8 +1333,6 @@ scm_i_ucs_range_to_char_set (const char *FUNC_NAME, SCM lower, SCM upper, clower = scm_to_size_t (lower); cupper = scm_to_size_t (upper) - 1; - SCM_ASSERT_RANGE (1, lower, clower >= 0); - SCM_ASSERT_RANGE (2, upper, cupper >= 0); SCM_ASSERT_RANGE (2, upper, cupper >= clower); if (!SCM_UNBNDP (error)) { |