Skip to content

Commit

Permalink
(libretro-db) Simplify 'chomp' function
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 21, 2015
1 parent b23e0ab commit b5a462d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libretro-db/query.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b5a462d

Please sign in to comment.