Skip to content

Commit bec3cfa

Browse files
committed
Merge pull request php-curl-class#166 from ironpilot/master
Removed unused variables
2 parents d3bb371 + 4f776a5 commit bec3cfa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Curl/Curl.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ public function downloadComplete($fh)
189189

190190
public function download($url, $mixed_filename)
191191
{
192-
$callback = false;
193192
if (is_callable($mixed_filename)) {
194193
$this->download_complete_function = $mixed_filename;
195194
$fh = tmpfile();
@@ -212,8 +211,6 @@ public function error($callback)
212211

213212
public function exec($ch = null)
214213
{
215-
$target = $ch === null ? $this : $ch;
216-
217214
if (!($ch === null)) {
218215
$this->raw_response = curl_multi_getcontent($ch);
219216
} else {

0 commit comments

Comments
 (0)