diff options
author | marcel <marcel@FreeBSD.org> | 2013-03-02 05:07:51 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-03-02 05:07:51 +0000 |
commit | f6b8c4d98fdaa0c3e24a77d89260634284d158a4 (patch) | |
tree | ffbb454f2f499bcf6fdbde135cef6676735fa20f /lib/libstand | |
parent | 92a73b39ae592cec0fde94aed1f3755d1e1cd9b8 (diff) | |
download | FreeBSD-src-f6b8c4d98fdaa0c3e24a77d89260634284d158a4.zip FreeBSD-src-f6b8c4d98fdaa0c3e24a77d89260634284d158a4.tar.gz |
Fix warnings (control reaches end of non-void function).
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/nandfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libstand/nandfs.c b/lib/libstand/nandfs.c index 2ddf8c3..63d92d2 100644 --- a/lib/libstand/nandfs.c +++ b/lib/libstand/nandfs.c @@ -418,7 +418,7 @@ nandfs_open(const char *path, struct open_file *f) return (0); } -static int +static void nandfs_free_node(struct nandfs_node *node) { struct bmap_buf *bmap, *tmp; @@ -445,6 +445,7 @@ nandfs_close(struct open_file *f) nandfs_free_node(fs->nf_opened_node); free(fs->nf_sb); free(fs); + return (0); } static int |