diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-16 01:39:45 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-16 01:39:45 -0400 |
commit | aa0a4e58de57d26c6a4895ae2d167fd72e967768 (patch) | |
tree | 329916b3a3ca5f31981175554349f816c61cf7dd | |
parent | 2c6a2d6730430aefe19b8aa10ddf2fc5fb39f025 (diff) | |
download | txr-aa0a4e58de57d26c6a4895ae2d167fd72e967768.tar.gz txr-aa0a4e58de57d26c6a4895ae2d167fd72e967768.tar.bz2 txr-aa0a4e58de57d26c6a4895ae2d167fd72e967768.zip |
* filter.c (trie_filter_string): Fix warning about uninitialized
variable (not a bug, but compiler cannot prove that).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | filter.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2011-10-16 Kaz Kylheku <kaz@kylheku.com> + + * filter.c (trie_filter_string): Fix warning about uninitialized + variable (not a bug, but compiler cannot prove that). + 2011-10-15 Kaz Kylheku <kaz@kylheku.com> Task #11425. Refactoring match_files to make it easier to @@ -167,7 +167,7 @@ static val trie_filter_string(val filter, val str) for (i = zero; lt(i, len); ) { val node = trie_lookup_begin(filter); val match = nil; - val subst; + val subst = nil; val j; for (j = i; lt(j, len); j = plus(j, one)) { |