mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/flashwrite: remove useless line
scan-build reported: Value stored to 'flashpage_pos' is never read
This commit is contained in:
parent
efbd758786
commit
8827202ac7
@ -77,7 +77,6 @@ int riotboot_flashwrite_putbytes(riotboot_flashwrite_t *state,
|
|||||||
flashpage_avail -= to_copy;
|
flashpage_avail -= to_copy;
|
||||||
|
|
||||||
state->offset += to_copy;
|
state->offset += to_copy;
|
||||||
flashpage_pos += to_copy;
|
|
||||||
bytes += to_copy;
|
bytes += to_copy;
|
||||||
len -= to_copy;
|
len -= to_copy;
|
||||||
if ((!flashpage_avail) || (!more)) {
|
if ((!flashpage_avail) || (!more)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user