[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/akonadi/server/src/storage
From: Volker Krause <vkrause () kde ! org>
Date: 2009-08-11 7:11:55
Message-ID: 1249974715.749742.31227.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1009894 by vkrause:
Fix unused variable warning in generated code.
M +1 -0 entities-source.xsl
--- trunk/kdesupport/akonadi/server/src/storage/entities-source.xsl #1009893:1009894
@@ -78,6 +78,7 @@
void <xsl:value-of select="$className"/>::Private::addToCache( const <xsl:value-of \
select="$className"/> & entry ) {
Q_ASSERT( cacheEnabled );
+ Q_UNUSED( entry ); <!-- in case the table has neither an id nor name column -->
cacheMutex.lock();
<xsl:if test="column[@name = 'id']">
idCache.insert( entry.id(), entry );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic