X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_yaffs2.c;h=6be3d6a0c6208f082e0fd1a4a22845c97ba118c2;hp=9eb42f7ff54d9e4a93036e9a2ad75e53f1147707;hb=HEAD;hpb=3de09ef5a181999f7340462154034b727827e4fa 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);