From 9de0b18db2fe450eb5182a4a510105cfb55235e7 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Tue, 21 Mar 2023 09:56:46 +0100 Subject: [PATCH] Merge is_dup condition --- src/emu/pv/prv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/emu/pv/prv.c b/src/emu/pv/prv.c index 9e57429..cfc08be 100644 --- a/src/emu/pv/prv.c +++ b/src/emu/pv/prv.c @@ -94,8 +94,7 @@ emit(struct prv *prv, struct prv_chan *rchan) /* Only test for duplicates if not emitting them */ if (~rchan->flags & PRV_EMITDUP) { - int is_dup = is_value_dup(rchan, &value); - if (is_dup) { + if (is_value_dup(rchan, &value)) { if (rchan->flags & PRV_SKIPDUP) return 0;