X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yaffs_yaffs2.c;h=6be3d6a0c6208f082e0fd1a4a22845c97ba118c2;hb=3228d50b5ff0a1dc27c280105a0f20909b16bbe2;hp=9eb42f7ff54d9e4a93036e9a2ad75e53f1147707;hpb=1f3d64d1d804fef6715126dead54bf30b176c67e;p=yaffs2.git diff --git a/yaffs_yaffs2.c b/yaffs_yaffs2.c index 9eb42f7..6be3d6a 100644 --- a/yaffs_yaffs2.c +++ b/yaffs_yaffs2.c @@ -707,6 +707,8 @@ static int yaffs2_wr_checkpt_objs(struct yaffs_dev *dev) * dumping them to the checkpointing stream. */ + (void) cp_variant_type; + for (i = 0; ok && i < YAFFS_NOBJECT_BUCKETS; i++) { list_for_each(lh, &dev->obj_bucket[i].list) { obj = list_entry(lh, struct yaffs_obj, hash_link);