mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
bsps/riscv/niosv/flash/altera_epcq_driver.c: Variable unused after read
The driver was reading from memory and GCC warning that the value read was ignored. Added annotation to indicate this was intentional.
This commit is contained in:
committed by
Kinsey Moore
parent
5e2ac1584e
commit
0a5890c623
@@ -601,6 +601,7 @@ static int alt_epcq_controller2_write_block (
|
||||
EPCQ_MEM_32[write_offset_32] = word_to_write;
|
||||
alt_epcq_poll_for_write_in_progress(epcq_flash_info);
|
||||
dummy_read = EPCQ_MEM_32[write_offset_32];
|
||||
(void) dummy_read;
|
||||
}
|
||||
|
||||
/* check whether write triggered a illegal write interrupt */
|
||||
|
||||
Reference in New Issue
Block a user