Remove pointless assignments (#361)

This commit is contained in:
Martin Vobruba 2021-04-06 17:35:45 +02:00 committed by GitHub
parent c979d00f60
commit cf8a66c8ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6716,13 +6716,10 @@ class TCPDF {
switch ($align) {
case 'J':
case 'C': {
$w = $w;
break;
}
case 'L': {
if ($this->rtl) {
$w = $w;
} else {
if (!$this->rtl) {
$w = $l;
}
break;
@ -6730,8 +6727,6 @@ class TCPDF {
case 'R': {
if ($this->rtl) {
$w = $l;
} else {
$w = $w;
}
break;
}