Ensure variable is sane
authorcharles <charles>
Tue, 12 Aug 2008 22:50:23 +0000 (22:50 +0000)
committercharles <charles>
Tue, 12 Aug 2008 22:50:23 +0000 (22:50 +0000)
yaffs_tagscompat.c

index aed101e..3e5e8a4 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;