svn commit: r247612 - head/lib/libstand
Marcel Moolenaar
marcel at FreeBSD.org
Sat Mar 2 05:07:52 UTC 2013
Author: marcel
Date: Sat Mar 2 05:07:51 2013
New Revision: 247612
URL: http://svnweb.freebsd.org/changeset/base/247612
Log:
Fix warnings (control reaches end of non-void function).
Modified:
head/lib/libstand/nandfs.c
Modified: head/lib/libstand/nandfs.c
==============================================================================
--- head/lib/libstand/nandfs.c Sat Mar 2 05:03:36 2013 (r247611)
+++ head/lib/libstand/nandfs.c Sat Mar 2 05:07:51 2013 (r247612)
@@ -418,7 +418,7 @@ nandfs_open(const char *path, struct ope
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
More information about the svn-src-all
mailing list