diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-03-11 13:19:14 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-03-11 16:49:59 +0100 |
commit | 0bd20a26686d01efea4c64c1f4aac53ae1c142aa (patch) | |
tree | f0b07a6764a6365f65295c29aee1316582b701e3 | |
parent | 9c89ce00d79c107bd704fc83b5061bd8a9f54913 (diff) |
dbaccess: PVS-Studio V517 'use of if(A) ... else if (A) pattern'
Change-Id: Ic89a0437062886f37987a9411d32632413085284
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryDesignView.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 0107c0f85854..d8fe0e30520b 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -3529,10 +3529,6 @@ void OQueryDesignView::fillFunctionInfo( const ::connectivity::OSQLParseNode* p nDataType = DataType::FLOAT; else if ( SQL_ISTOKEN (pDataType, DOUBLE) ) nDataType = DataType::DOUBLE; - else if ( SQL_ISTOKEN (pDataType, TIME) ) - nDataType = DataType::TIME; - else if ( SQL_ISTOKEN (pDataType, TIMESTAMP) ) - nDataType = DataType::TIMESTAMP; else if ( SQL_ISTOKEN (pDataType, INTERVAL) ) // Not in DataType published constant (because not in JDBC...) nDataType = DataType::VARCHAR; |