Revision: 623
          http://rpy.svn.sourceforge.net/rpy/?rev=623&view=rev
Author:   lgautier
Date:     2008-08-08 18:49:58 +0000 (Fri, 08 Aug 2008)

Log Message:
-----------
Missing explicit return statements (causing warnings when compiling)

Modified Paths:
--------------
    branches/rpy_nextgen/rpy/rinterface/rinterface.c

Modified: branches/rpy_nextgen/rpy/rinterface/rinterface.c
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-08-08 18:48:02 UTC 
(rev 622)
+++ branches/rpy_nextgen/rpy/rinterface/rinterface.c    2008-08-08 18:49:58 UTC 
(rev 623)
@@ -1249,7 +1249,7 @@
   if (i >= R_LEN_T_MAX) {
     PyErr_Format(PyExc_IndexError, "Index value exceeds what R can handle.");
     res = NULL;
-    return;
+    return res;
   }
 
   len_R = GET_LENGTH(*sexp);
@@ -1262,7 +1262,7 @@
     PyErr_Format(PyExc_IndexError, 
                 "Mysterious error: likely an integer overflow.");
     res = NULL;
-    return;
+    return res;
   }
   if ((i >= GET_LENGTH(*sexp))) {
     PyErr_Format(PyExc_IndexError, "Index out of range.");


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to