Fix code not reachable
This commit is contained in:
parent
90f93a60d6
commit
a272b620f5
@ -703,8 +703,8 @@ class Lessc
|
|||||||
// has default value
|
// has default value
|
||||||
$value = $a[2];
|
$value = $a[2];
|
||||||
} else {
|
} else {
|
||||||
$this->throwError("Failed to assign arg ".$a[1]);
|
|
||||||
$value = null; // :(
|
$value = null; // :(
|
||||||
|
$this->throwError("Failed to assign arg ".$a[1]); // This end function by throwing an exception
|
||||||
}
|
}
|
||||||
|
|
||||||
$value = $this->reduce($value);
|
$value = $this->reduce($value);
|
||||||
@ -1118,8 +1118,7 @@ class Lessc
|
|||||||
if (isset($items[0])) {
|
if (isset($items[0])) {
|
||||||
return $this->lib_e($items[0]);
|
return $this->lib_e($items[0]);
|
||||||
}
|
}
|
||||||
$this->throwError("unrecognised input");
|
$this->throwError("unrecognised input"); // This end function by throwing an exception
|
||||||
return null;
|
|
||||||
case "string":
|
case "string":
|
||||||
$arg[1] = "";
|
$arg[1] = "";
|
||||||
return $arg;
|
return $arg;
|
||||||
|
|||||||
@ -521,7 +521,7 @@ class Skill extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public function delete(User $user, $notrigger = false)
|
public function delete(User $user, $notrigger = false)
|
||||||
{
|
{
|
||||||
return $this->deleteCommon($user, $notrigger);;
|
return $this->deleteCommon($user, $notrigger);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user