[svn:parrot] r35902 - trunk/src

[email protected] Thu, 22 Jan 2009 16:54:19 -0800 (PST)
Newsgroups perl.cvs.parrot
Message-ID <[email protected]>
Author: chromatic
Date: Thu Jan 22 16:54:18 2009
New Revision: 35902

Modified:
   trunk/src/hash.c

Log:
[src] Removed some useless code from parrot_hash_size() as the hash parameter
is a NOTNULL parameter.

Modified: trunk/src/hash.c
==============================================================================
--- trunk/src/hash.c	(original)
+++ trunk/src/hash.c	Thu Jan 22 16:54:18 2009
@@ -1176,11 +1176,7 @@
 {
     ASSERT_ARGS(parrot_hash_size)
 
-    if (hash)
-        return hash->entries;
-
-    Parrot_ex_throw_from_c_args(interp, NULL, 1,
-        "parrot_hash_size asked to check a NULL hash\n");
+    return hash->entries;
 }