Ensure variable is sane
[yaffs2.git] / yaffs_tagscompat.c
index aed101e45be5aa7421396f2d57ae54326d49c5d9..3e5e8a40b22cc25c4c962f74cdbe903b779e6005 100644 (file)
@@ -439,7 +439,7 @@ int yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(yaffs_Device * dev,
 
        yaffs_Spare spare;
        yaffs_Tags tags;
-       yaffs_ECCResult eccResult;
+       yaffs_ECCResult eccResult = YAFFS_ECC_RESULT_UNKNOWN;
 
        static yaffs_Spare spareFF;
        static int init = 0;