svn commit: r363941 - stable/12/lib/libbe
Kyle Evans
kevans at FreeBSD.org
Thu Aug 6 04:55:00 UTC 2020
Author: kevans
Date: Thu Aug 6 04:54:59 2020
New Revision: 363941
URL: https://svnweb.freebsd.org/changeset/base/363941
Log:
MFC r363409: 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).
Modified:
stable/12/lib/libbe/be.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/lib/libbe/be.c
==============================================================================
--- stable/12/lib/libbe/be.c Thu Aug 6 04:52:30 2020 (r363940)
+++ stable/12/lib/libbe/be.c Thu Aug 6 04:54:59 2020 (r363941)
@@ -563,7 +563,7 @@ be_setup_snapshot_name(libbe_handle_t *lbh, char *buf,
}
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;
More information about the svn-src-stable-12
mailing list