Put a logging-only variable behind an #ifdef.

This commit is contained in:
OBattler
2024-12-02 08:36:32 +01:00
parent ebdfb56510
commit 2e8bdaf587

View File

@@ -720,7 +720,9 @@ hdc_callback(void *priv)
off64_t addr;
int no_data = 0;
int val;
#ifdef ENABLE_PS1_HDC_LOG
uint8_t cmd = ccb->cmd & 0x0f;
#endif
/* Clear the SSB error bits. */
dev->ssb.track_0 = 0;