forked from len0rd/rockbox
Simplify some redundant boolean expressions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21013 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a968ddbb39
commit
ab222c1705
8 changed files with 13 additions and 13 deletions
|
@ -107,7 +107,7 @@ void cpu_boost_(bool on_off, char* location, int line)
|
|||
{
|
||||
int message = (cpu_boost_first+cpu_boost_calls_count)%MAX_BOOST_LOG;
|
||||
snprintf(cpu_boost_calls[message], MAX_PATH,
|
||||
"%c %s:%d",on_off==true?'B':'U',location,line);
|
||||
"%c %s:%d",on_off?'B':'U',location,line);
|
||||
cpu_boost_calls_count++;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue