diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
index 645fd54..3a6c84e 100644
--- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
+++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
@@ -55,7 +55,6 @@ function setUp() {
    * Test the internal browsers functionality.
    */
   function testInternalBrowser() {
-    global $conf;
     if (!$this->inCURL()) {
       // Retrieve the test page and check its title and headers.
       $this->drupalGet('test-page');
@@ -185,7 +184,7 @@ function stubTest() {
     $this->pass(t('Test ID is @id.', array('@id' => $this->testId)));
 
     // Generates a warning.
-    $i = 1 / 0;
+    1 / 0;
 
     // Call an assert function specific to that class.
     $this->assertNothing();
