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
|
@ -1439,7 +1439,7 @@ static NSUInteger urlAlign;
|
|||
memcpy(tmp, myData->path, l + 1);
|
||||
}
|
||||
}
|
||||
else if (_baseURL == nil)
|
||||
else if (nil == _baseURL)
|
||||
{
|
||||
if (myData->path != 0)
|
||||
{
|
||||
|
@ -1447,7 +1447,7 @@ static NSUInteger urlAlign;
|
|||
memcpy(tmp, myData->path, l + 1);
|
||||
}
|
||||
}
|
||||
else if (*myData->path == 0)
|
||||
else if (0 == myData->path || 0 == *myData->path)
|
||||
{
|
||||
if (baseData->hasNoPath == NO)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue