K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T18:50:35.615135Z K 7 svn:log V 565 Fix unused variable warning in ffs_snapshot.c With clang 15, the following -Werror warning is produced: sys/ufs/ffs/ffs_snapshot.c:204:7: error: variable 'redo' set but not used [-Werror,-Wunused-but-set-variable] long redo = 0, snaplistsize = 0; ^ The 'redo' variable is only used when DIAGNOSTIC is defined. Ensure it is only declared and set in that case. MFC after: 3 days (cherry picked from commit c9dde6f0c713a027266c52cf94a33a086348c566) Git Hash: 6ef6d3424f158a797d280ebd3103d4d833d41230 Git Author: dim@FreeBSD.org END