projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change how unused arguments are handled
[yaffs2.git]
/
direct
/
yaffsfs.c
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 62fb79388d0a6b1d4a36762fde914a2976cbd3e1..61aee74710a92146a35d3b9d911e1adbfafb1c3c 100644
(file)
--- 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)
{
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;
yaffsfs_SetError(-EINVAL);
return -1;
@@
-3189,7
+3189,7
@@
int yaffs_set_error(int error)
int yaffs_dump_dev(const YCHAR *path)
{
#if 1
int yaffs_dump_dev(const YCHAR *path)
{
#if 1
-
path =
path;
+
(void)
path;
#else
YCHAR *rest;
#else
YCHAR *rest;