aboutsummaryrefslogtreecommitdiff
path: root/src/target/riscv/batch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/riscv/batch.c')
-rw-r--r--src/target/riscv/batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/riscv/batch.c b/src/target/riscv/batch.c
index 43f2ffb..3c062e1 100644
--- a/src/target/riscv/batch.c
+++ b/src/target/riscv/batch.c
@@ -183,7 +183,7 @@ void dump_field(int idle, const struct scan_field *field)
if (debug_level < LOG_LVL_DEBUG)
return;
- assert(field->out_value != NULL);
+ assert(field->out_value);
uint64_t out = buf_get_u64(field->out_value, 0, field->num_bits);
unsigned int out_op = get_field(out, DTM_DMI_OP);
unsigned int out_data = get_field(out, DTM_DMI_DATA);