mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
static analyzer tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36523 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0fdebe8513
commit
54ff9b7de5
10 changed files with 110 additions and 97 deletions
|
@ -1446,9 +1446,9 @@ NSLog(@"_processTag <%@%@ %@>", flag?@"/": @"", tag, attributes);
|
|||
len = this->cp - ep - 1;
|
||||
|
||||
*result = [self _newEntity: ep length: len];
|
||||
if (entity == *result)
|
||||
if (&entity == result)
|
||||
{
|
||||
[entity release]; // Won't be used
|
||||
[*result release]; // Won't be used
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue