diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-28 21:56:04 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | 4d3bf1c446a7d1d2f85d368dfff70fcedfb5e045 (patch) | |
tree | cb972c9823030ed24d54075623785d092e8cbabc /firmware/core_alloc.c | |
parent | 840f6b79c73b7714843f38d179dbbd6bf45b822d (diff) | |
download | rockbox-4d3bf1c446a7d1d2f85d368dfff70fcedfb5e045.tar.gz rockbox-4d3bf1c446a7d1d2f85d368dfff70fcedfb5e045.zip |
buflib: add comment in handle_alloc, remove a dead store
It isn't obvious why the "handle->val = -1" at the end of handle_alloc
is needed so add an explanatory comment. But "handle->val = 1" prior to
calling handle_free is simply a dead store.
Change-Id: I9ab4e96e87e940cfd1a2ed56f089287821669c73
Diffstat (limited to 'firmware/core_alloc.c')
0 files changed, 0 insertions, 0 deletions