summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Hohmuth <sideral@rockbox.org>2011-06-06 22:49:07 +0000
committerMichael Hohmuth <sideral@rockbox.org>2011-06-06 22:49:07 +0000
commit6a0021cf2044e2bc36883a63362cbc7657bf5fe0 (patch)
tree598af89209cabe3eeef3d0678871e5623b3f8331 /firmware/target
parentb3a7f39c66b0f983b5aa7b4c0846ce422f06a854 (diff)
downloadrockbox-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 'firmware/target')
0 files changed, 0 insertions, 0 deletions