diff --git a/src/seq/seq_ca.c b/src/seq/seq_ca.c index 0ae845ba016777a5976264125a772b6802c17a42..b03b6cb848038fe682ac0b7229f8038a756c3cdb 100644 --- a/src/seq/seq_ca.c +++ b/src/seq/seq_ca.c @@ -280,6 +280,7 @@ static void proc_db_events( { /* Copy value and meta data into user variable shared buffer (can get NULL value pointer for put completion only) */ + assert((value==NULL)==(evtype == pvEventPut)); if (value != NULL) { void *val = pv_value_ptr(value,type);