remove redundant code

This commit is contained in:
Richard Frith-Macdonald 2018-02-05 08:14:41 +00:00
parent 493eb2cf2f
commit 7e7d71d63e
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
2018-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m: Remove redundant (always true) conditional.
* Source/NSUnarchiver.m: Remove redundant (always true) conditional.
2018-02-04 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -638,7 +638,7 @@ static unsigned encodingVersion;
/* If we have a perfect type match or we are coding a class as an ID,
* we can just decode the array simply.
*/
if (info == amask || (info == _GSC_ID && amask == _GSC_CID))
if (info == amask)
{
for (i = 0; i < count; i++)
{