X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffsfs.c;h=61aee74710a92146a35d3b9d911e1adbfafb1c3c;hp=62fb79388d0a6b1d4a36762fde914a2976cbd3e1;hb=006efa87bb82703f1cdd56cb8c7a3b06d489d4e3;hpb=cb185cec287359727e44321979ad2324b4fad7cb diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c index 62fb793..61aee74 100644 --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -3137,9 +3137,9 @@ int yaffs_link(const YCHAR *oldpath, const YCHAR *linkpath) int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev) { - pathname = pathname; - mode = mode; - dev = dev; + (void) pathname; + (void) mode; + (void) dev; yaffsfs_SetError(-EINVAL); return -1; @@ -3189,7 +3189,7 @@ int yaffs_set_error(int error) int yaffs_dump_dev(const YCHAR *path) { #if 1 - path = path; + (void) path; #else YCHAR *rest;