yaffs: Sort out issues raised by Coverity
[yaffs2.git] / yaffs_nand.c
index e816cabf43f8e9b588a435c6198e85165ca98411..f7810d0a0e370dff99207b3948a9a26351314b67 100644 (file)
@@ -72,6 +72,7 @@ int yaffs_wr_chunk_tags_nand(struct yaffs_dev *dev,
        } else {
                yaffs_trace(YAFFS_TRACE_ERROR, "Writing with no tags");
                YBUG();
+               return FALSE;
        }
 
        if (dev->param.write_chunk_tags_fn)