Skip to content

Commit

Permalink
Merge pull request #4 from kainjow/master
Browse files Browse the repository at this point in the history
Fix unused variables
  • Loading branch information
vi committed Jun 22, 2015
2 parents f087398 + 1a9fa3f commit e61ad66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ void dbg_init(int argc, char* argv[]){
}

#else
void dbg_init(int argc, char* argv[]){}
void dbg_init(int argc, char* argv[]){
(void) argc;
(void) argv;
}
#endif

2 changes: 2 additions & 0 deletions fusecloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ static int fusecloop_write(const char *path, const char *buf, size_t size,
(void) buf;
(void) offset;
(void) fi;
(void) size;

if(strcmp(path, filename) != 0)
return -ENOENT;
Expand All @@ -174,6 +175,7 @@ static int fusecloop_write(const char *path, const char *buf, size_t size,

static int fusecloop_utimens(const char *path, const struct timespec ts[2]){
bfuncinfo("path=%s",path);
(void) ts;

if(strcmp(path, filename) != 0)
return -ENOENT;
Expand Down

0 comments on commit e61ad66

Please sign in to comment.