[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Tue Sep 8 05:36:31 PDT 2015


 connectivity/source/drivers/flat/ETable.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 8a13dc598b015a6047f6be1c0f03de3695bf6fc1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 8 14:34:24 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...at least since 4695f7d361641ea4dcd927a7b4aab86e0c971d5b "#82018# check for
    double column names" removed the commented-out code that would have used it (and
    which had been commented out ever since the code got introduced)
    
    Change-Id: I11e9cafb53894ce7cb7ffc031f2d6b047bd3258d

diff --git a/connectivity/source/drivers/flat/ETable.cxx b/connectivity/source/drivers/flat/ETable.cxx
index fa80969..7e31289 100644
--- a/connectivity/source/drivers/flat/ETable.cxx
+++ b/connectivity/source/drivers/flat/ETable.cxx
@@ -324,7 +324,6 @@ void OFlatTable::impl_fillColumnInfo_nothrow(QuotedTokenizedString& aFirstLine,
             }
         }
 
-        sal_Int32 nFlags = 0;
         if (bNumeric)
         {
             if (cDecimalDelimiter)
@@ -346,7 +345,6 @@ void OFlatTable::impl_fillColumnInfo_nothrow(QuotedTokenizedString& aFirstLine,
                 io_nPrecisions = 0;
                 io_nScales = 0;
             }
-            nFlags = ColumnSearch::BASIC;
         }
         else
         {
@@ -370,7 +368,6 @@ void OFlatTable::impl_fillColumnInfo_nothrow(QuotedTokenizedString& aFirstLine,
                     io_nScales = 0;
                     o_sTypeName = "VARCHAR";
             };
-            nFlags |= ColumnSearch::CHAR;
         }
     }
     else


More information about the Libreoffice-commits mailing list