diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-07-07 20:15:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-07-07 20:15:40 -0700 |
commit | 46b7f60f9fa32fd2a8c2162cf108dc89d3d95196 (patch) | |
tree | 21cb7f25225d158a6439fae595232cd655c22844 /lib.c | |
parent | 5dc47f6ac0acf28b44cf52258a0037b4da9ae6ce (diff) | |
download | txr-46b7f60f9fa32fd2a8c2162cf108dc89d3d95196.tar.gz txr-46b7f60f9fa32fd2a8c2162cf108dc89d3d95196.tar.bz2 txr-46b7f60f9fa32fd2a8c2162cf108dc89d3d95196.zip |
* lib.c (replace_list, sel): fix use of unused variable.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -777,7 +777,7 @@ val replace_list(val list, val items, val from, val to) nao); for (; seq && where && items; seq = cdr(seq), idx = plus(idx, one)) { - val wh; + val wh = nil; for (; where && lt(wh = car(where), idx); where = cdr(where)) ; /* empty */ @@ -5629,7 +5629,7 @@ val sel(val seq_in, val where_in) val idx = zero; for (; seq && where; seq = cdr(seq), idx = plus(idx, one)) { - val wh; + val wh = nil; for (; where && lt(wh = car(where), idx); where = cdr(where)) ; /* empty */ |