mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 22:37:58 +01:00
remove some unnecessary guard clauses
This commit is contained in:
@@ -187,12 +187,7 @@ function Commands()//{{{
|
||||
|
||||
function addDefaultCommand(command)
|
||||
{
|
||||
if (!command)
|
||||
return false;
|
||||
|
||||
ex_commands.push(command);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function commandsIterator()
|
||||
|
||||
Reference in New Issue
Block a user