From dc7330fb82f522c9f3f691566f7f98ae08aa6212 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Tue, 13 Aug 2013 01:42:52 -0700
Subject: [PATCH] Issue #2060811 by legolasbo: Remove Unused local variable 
 from /core/lib/Drupal/Core/Database/StatementPrefetch.php.

---
 core/lib/Drupal/Core/Database/StatementPrefetch.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/core/lib/Drupal/Core/Database/StatementPrefetch.php b/core/lib/Drupal/Core/Database/StatementPrefetch.php
index f601f74d4ef1..4be5c26ed5f2 100644
--- a/core/lib/Drupal/Core/Database/StatementPrefetch.php
+++ b/core/lib/Drupal/Core/Database/StatementPrefetch.php
@@ -455,7 +455,6 @@ public function fetchAll($fetch_style = NULL, $fetch_column = NULL, $constructor
 
   public function fetchCol($index = 0) {
     if (isset($this->columnNames[$index])) {
-      $column = $this->columnNames[$index];
       $result = array();
       // Traverse the array as PHP would have done.
       while (isset($this->currentRow)) {
@@ -493,8 +492,6 @@ public function fetchAllAssoc($key, $fetch_style = NULL) {
     // Traverse the array as PHP would have done.
     while (isset($this->currentRow)) {
       // Grab the row in its raw PDO::FETCH_ASSOC format.
-      $row = $this->currentRow;
-      // Grab the row in the format specified above.
       $result_row = $this->current();
       $result[$this->currentRow[$key]] = $result_row;
       $this->next();
-- 
GitLab