diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-07-22 02:09:10 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-07-22 02:09:10 +0000 |
commit | 9d6d8bf8c74641895e7545c5adf1440f517377ae (patch) | |
tree | 37e21f923c1990b4dddf11ebdc28a6337dad92aa | |
parent | 49d941eee087076eb2b3b901247386119b1f1dd3 (diff) | |
download | src-9d6d8bf8c74641895e7545c5adf1440f517377ae.tar.gz src-9d6d8bf8c74641895e7545c5adf1440f517377ae.zip |
libbe: annotate lbh as __unused in be_is_auto_snapshot_name
lbh is included for consistency with other functions and in case
future work needs to use it, but it is currently unused. Mark it,
and a post-OpenZFS-import world will be able to raise WARNS of
libbe to the default (pending some minor changes to openzfs libzfs).
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=363409
-rw-r--r-- | lib/libbe/be.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libbe/be.c b/lib/libbe/be.c index a5c112c238e5..98304c8bd166 100644 --- a/lib/libbe/be.c +++ b/lib/libbe/be.c @@ -563,7 +563,7 @@ be_setup_snapshot_name(libbe_handle_t *lbh, char *buf, size_t buflen) } bool -be_is_auto_snapshot_name(libbe_handle_t *lbh, const char *name) +be_is_auto_snapshot_name(libbe_handle_t *lbh __unused, const char *name) { const char *snap; int day, hour, minute, month, second, serial, year; |