[Libreoffice-commits] .: connectivity/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Feb 3 06:22:32 PST 2011
connectivity/source/drivers/file/fcomp.cxx | 1 +
connectivity/source/drivers/mozab/MResultSet.cxx | 1 +
connectivity/source/parse/sqliterator.cxx | 1 +
3 files changed, 3 insertions(+)
New commits:
commit 4973c2c0c71ae03ef833aa026c55887ea5f8dd1f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Feb 3 13:17:05 2011 +0000
gcc 4.6.0 various warnings
diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx
index 9e05f9a..8fc7ac8 100644
--- a/connectivity/source/drivers/file/fcomp.cxx
+++ b/connectivity/source/drivers/file/fcomp.cxx
@@ -119,6 +119,7 @@ void OPredicateCompiler::start(OSQLParseNode* pSQLParseNode)
pWhereClause = pTableExp->getChild(1);
pOrderbyClause = pTableExp->getChild(4);
+ (void)pOrderbyClause;
}
else if (SQL_ISRULE(pSQLParseNode,update_statement_searched))
{
diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx
index acc1cc7..e1860eb 100644
--- a/connectivity/source/drivers/mozab/MResultSet.cxx
+++ b/connectivity/source/drivers/mozab/MResultSet.cxx
@@ -900,6 +900,7 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT
pColumn = parseTree->getChild(0); // Match Item
pAtom = pPart2->getChild(parseTree->count()-2); // Match String
pOptEscape = pPart2->getChild(parseTree->count()-1); // Opt Escape Rule
+ (void)pOptEscape;
const bool bNot = SQL_ISTOKEN(pPart2->getChild(0), NOT);
if (!(pAtom->getNodeType() == SQL_NODE_STRING ||
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx
index 7e6f0cf..d606068 100644
--- a/connectivity/source/parse/sqliterator.cxx
+++ b/connectivity/source/parse/sqliterator.cxx
@@ -900,6 +900,7 @@ void OSQLParseTreeIterator::traverseCreateColumns(const OSQLParseNode* pSelectNo
if ( pParams->count() )
{
nLen = pParams->getChild(1)->getTokenValue().toInt32();
+ (void)nLen;
}
}
else if(pDatatype && pDatatype->getNodeType() == SQL_NODE_KEYWORD)
More information about the Libreoffice-commits
mailing list