perl.cvs.parrot
[Top] [All Lists]

[svn:parrot] r21213 - trunk/src/dynpmc

Subject: [svn:parrot] r21213 - trunk/src/dynpmc
From:
Date: Wed, 12 Sep 2007 05:59:04 -0700 PDT
Newsgroups: perl.cvs.parrot

Author: paultcochrane
Date: Wed Sep 12 05:59:04 2007
New Revision: 21213

Modified:
   trunk/src/dynpmc/gdbmhash.pmc

Log:
[pmc] Returning NULL after a real_exception() isn't needed.


Modified: trunk/src/dynpmc/gdbmhash.pmc
==============================================================================
--- trunk/src/dynpmc/gdbmhash.pmc       (original)
+++ trunk/src/dynpmc/gdbmhash.pmc       Wed Sep 12 05:59:04 2007
@@ -62,7 +62,6 @@
 {
     if (key == NULL) {
         real_exception(interp, NULL, OUT_OF_BOUNDS, "Hash: Cannot use NULL 
key");
-        return NULL;
     }
     return key_string(interp, key);
 }

<Prev in Thread] Current Thread [Next in Thread>
  • [svn:parrot] r21213 - trunk/src/dynpmc, paultcochrane <=