diff options
author | Michael Hohmuth <sideral@rockbox.org> | 2011-06-06 22:49:07 +0000 |
---|---|---|
committer | Michael Hohmuth <sideral@rockbox.org> | 2011-06-06 22:49:07 +0000 |
commit | 6a0021cf2044e2bc36883a63362cbc7657bf5fe0 (patch) | |
tree | 598af89209cabe3eeef3d0678871e5623b3f8331 /uisimulator | |
parent | b3a7f39c66b0f983b5aa7b4c0846ce422f06a854 (diff) | |
download | rockbox-6a0021cf2044e2bc36883a63362cbc7657bf5fe0.tar.gz rockbox-6a0021cf2044e2bc36883a63362cbc7657bf5fe0.zip |
FS#12132 patch 5: check_clauses: Optimizations.
* There's no need to reset the buffer argument to
check_against_clauses to 0 when it's not needed. We can always
initialize str = buf and only change it on a RAM search hit.
* Do not memset buffer to 0 -- it's sufficient to make sure the
retrieved tag string is zero-terminated.
* Factor out a call to check_virtual_tags from two branches of an if
statement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29981 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
0 files changed, 0 insertions, 0 deletions