[glom] cppcheck: Remove unnused variable and call.



commit 36121b9c598d220102ac7d6f521688a774a1fb7e
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Oct 30 10:12:43 2015 +0100

    cppcheck: Remove unnused variable and call.

 glom/base_db.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/glom/base_db.cc b/glom/base_db.cc
index 1525f62..292ecb9 100644
--- a/glom/base_db.cc
+++ b/glom/base_db.cc
@@ -743,8 +743,6 @@ Base_DB::type_vecConstLayoutFields Base_DB::get_table_fields_to_show_for_sequenc
     }
     else
     {
-      type_vec_fields vecFieldsInDocument = pDoc->get_table_fields(table_name);
-
       //We will show the fields that the document says we should:
       for(const auto& group : mapGroupSequence)
       {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]