]> mj.ucw.cz Git - libucw.git/commitdiff
shut up, gcc
authorRobert Spalek <robert@ucw.cz>
Sat, 8 Oct 2005 11:52:19 +0000 (11:52 +0000)
committerRobert Spalek <robert@ucw.cz>
Sat, 8 Oct 2005 11:52:19 +0000 (11:52 +0000)
lib/kmp.h

index abbf3b2312397bebcbd9aa1ef3ed81f0b0f18c8a..99dd51423e0686e5d48d966a5606de6e24db8d29 100644 (file)
--- a/lib/kmp.h
+++ b/lib/kmp.h
@@ -111,7 +111,7 @@ kmp_enter_string(struct kmp *kmp, const byte *str, uns id)
         * and uses KMP_GET_RAW to read its input.
         */
        byte buf[3*strlen(str)+1], *str2 = buf;
-       kmp_char_t c;
+       kmp_char_t c = 0;
        do
        {
                kmp_get_char(&str, &c, kmp->modify_flags);