ts filter: fix unused variable warnings

This commit is contained in:
Jure Varlec
2022-05-19 10:56:10 +02:00
committed by Michael Davidsaver
parent d5959ca20a
commit bd1af9ac95
2 changed files with 10 additions and 0 deletions
@@ -232,6 +232,7 @@ static int type_check_string(const db_field_log *pfl) {
static int value_check_string(const db_field_log *pfl, const epicsTimeStamp *ts) {
/* We can only verify the type, not the value, because using strptime()
might be problematic. */
(void)ts;
return pfl->type == dbfl_type_ref
&& pfl->u.r.field != NULL
&& pfl->u.r.dtor != NULL