[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/kexi/kexidb
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-08-22 17:44:55
Message-ID: 1219427095.891152.11233.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 850977 by staniek:

backport r850967 fix (possible crash) 


 M  +1 -1      tableschema.cpp  


--- branches/koffice/1.6/koffice/kexi/kexidb/tableschema.cpp #850976:850977
@@ -372,7 +372,7 @@
 Field* TableSchema::anyNonPKField()
 {
 	if (!d->anyNonPKField) {
-		Field *f;
+		Field *f = 0;
 		Field::ListIterator it(m_fields);
 		it.toLast(); //from the end (higher chances to find)
 		for (; (f = it.current()); --it) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic