[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [umbrello/Applications/16.12] umbrello/umlmodel: Fix zero pointer guard not using correct variable n
From: Ralf Habacker <null () kde ! org>
Date: 2016-12-31 0:55:21
Message-ID: E1cN7xB-0002lZ-0Q () code ! kde ! org
[Download RAW message or body]
Git commit f31d1f02653c146be2bd79ea0d157ff4844677c4 by Ralf Habacker.
Committed on 31/12/2016 at 00:55.
Pushed by habacker into branch 'Applications/16.12'.
Fix zero pointer guard not using correct variable name.
CCBUG:373911
M +1 -1 umbrello/umlmodel/classifier.cpp
https://commits.kde.org/umbrello/f31d1f02653c146be2bd79ea0d157ff4844677c4
diff --git a/umbrello/umlmodel/classifier.cpp b/umbrello/umlmodel/classifier.cpp
index 96b1c8d72..a844a40ff 100644
--- a/umbrello/umlmodel/classifier.cpp
+++ b/umbrello/umlmodel/classifier.cpp
@@ -1342,7 +1342,7 @@ UMLAssociationList UMLClassifier::getUniAssociationToBeImplemented()
bool found = false;
//make sure that an attribute with the same name doesn't already exist
foreach (UMLAttribute *at, atl) {
- uIgnoreZeroPointer(a);
+ uIgnoreZeroPointer(at);
if (at->name() == roleNameB) {
found = true;
break;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic