mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
more static analyser fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36843 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8a14cae14
commit
f7182588d0
5 changed files with 34 additions and 12 deletions
|
@ -1133,14 +1133,10 @@ static id parsePlItem(pldata* pld)
|
|||
|
||||
len--;
|
||||
// Allow for quoted values.
|
||||
if (ptr[0] == '"' && len > 1)
|
||||
if (len > 2 && '"' == ptr[0] && '"' == ptr[len - 1])
|
||||
{
|
||||
len--;
|
||||
len -= 2;
|
||||
ptr++;
|
||||
if (ptr[len - 1] == '"')
|
||||
{
|
||||
len--;
|
||||
}
|
||||
}
|
||||
if (type == 'I')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue