mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(libretro-db) Simplify 'chomp' function
This commit is contained in:
parent
b23e0abac8
commit
b5a462dc38
1 changed files with 0 additions and 4 deletions
|
@ -404,10 +404,6 @@ struct registered_func registered_functions[100] = {
|
|||
|
||||
static struct buffer chomp(struct buffer buff)
|
||||
{
|
||||
off_t i = 0;
|
||||
|
||||
(void)i;
|
||||
|
||||
for (; buff.offset < buff.len && isspace(buff.data[buff.offset]); buff.offset++);
|
||||
return buff;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue