Skip to content

Commit d4f8583

Browse files
jmikolaalcaeus
authored andcommitted
Remove unused variable
1 parent 1260d11 commit d4f8583

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

tests/cursor/bug1274-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ MongoDB\Driver\Monitoring\addSubscriber(new CommandLogger);
5454
$query = new MongoDB\Driver\Query([], ['batchSize' => 2]);
5555
$cursor = $manager->executeQuery(NS, $query);
5656

57-
$parentPid = getmypid();
5857
$childPid = pcntl_fork();
5958

6059
if ($childPid === 0) {

tests/cursor/bug1274-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ MongoDB\Driver\Monitoring\addSubscriber($subscriber);
5757
$query = new MongoDB\Driver\Query([], ['batchSize' => 2]);
5858
$cursor = $manager->executeQuery(NS, $query);
5959

60-
$parentPid = getmypid();
6160
$childPid = pcntl_fork();
6261

6362
if ($childPid === 0) {

tests/cursor/bug1274-003.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ MongoDB\Driver\Monitoring\addSubscriber(new CommandLogger);
5454
$query = new MongoDB\Driver\Query([], ['batchSize' => 2]);
5555
$cursor = $manager->executeQuery(NS, $query);
5656

57-
$parentPid = getmypid();
5857
$childPid = pcntl_fork();
5958

6059
if ($childPid === 0) {

tests/session/bug1274-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ $bulk->insert(['x' => 2]);
2828
$result = $manager->executeBulkWrite(NS, $bulk, ['session' => $session]);
2929
printf("Parent inserted %d documents\n", $result->getInsertedCount());
3030

31-
$parentPid = getmypid();
3231
$childPid = pcntl_fork();
3332

3433
if ($childPid === 0) {

tests/session/bug1274-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ MongoDB\Driver\Monitoring\addSubscriber(new CommandLogger);
5757
$query = new MongoDB\Driver\Query([], ['batchSize' => 2]);
5858
$cursor = $manager->executeQuery(NS, $query, ['session' => $session]);
5959

60-
$parentPid = getmypid();
6160
$childPid = pcntl_fork();
6261

6362
if ($childPid === 0) {

0 commit comments

Comments
 (0)