[svn:parrot] r47262 - trunk/src/pmc
NotFound at svn.parrot.org
NotFound at svn.parrot.org
Tue Jun 1 16:06:49 UTC 2010
Author: NotFound
Date: Tue Jun 1 16:06:48 2010
New Revision: 47262
URL: https://trac.parrot.org/parrot/changeset/47262
Log:
use STRING_IS_NULL instead of checking NULL in FSA is_equal
Modified:
trunk/src/pmc/fixedstringarray.pmc
Modified: trunk/src/pmc/fixedstringarray.pmc
==============================================================================
--- trunk/src/pmc/fixedstringarray.pmc Tue Jun 1 15:54:12 2010 (r47261)
+++ trunk/src/pmc/fixedstringarray.pmc Tue Jun 1 16:06:48 2010 (r47262)
@@ -579,7 +579,7 @@
if (item1 == item2)
continue;
- if (item1 == NULL || item2 == NULL)
+ if (STRING_IS_NULL(item1) || STRING_IS_NULL(item2))
return 0;
if (!Parrot_str_equal(INTERP, item1, item2))
More information about the parrot-commits
mailing list