1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

PHPMailer: Remove unused variable

Summary: `$tmp` is declared but never used.

Test Plan: Read/grep the code.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25665
This commit is contained in:
Andre Klapper 2024-05-28 08:35:10 +02:00
parent 3a6e835e36
commit 40b1e6b17a
2 changed files with 0 additions and 2 deletions

View file

@ -2048,7 +2048,6 @@ class PHPMailerLite {
* @param string $key_pass Password for private key * @param string $key_pass Password for private key
*/ */
public function DKIM_QP($txt) { public function DKIM_QP($txt) {
$tmp="";
$line=""; $line="";
for ($i=0;$i<strlen($txt);$i++) { for ($i=0;$i<strlen($txt);$i++) {
$ord=ord($txt[$i]); $ord=ord($txt[$i]);

View file

@ -2186,7 +2186,6 @@ class PHPMailer {
* @param string $key_pass Password for private key * @param string $key_pass Password for private key
*/ */
public function DKIM_QP($txt) { public function DKIM_QP($txt) {
$tmp="";
$line=""; $line="";
for ($i=0;$i<strlen($txt);$i++) { for ($i=0;$i<strlen($txt);$i++) {
$ord=ord($txt[$i]); $ord=ord($txt[$i]);