This fixes a couple of nits in rx.c:

   1. There's no newline at the end, which makes gcc unhappy.
   2. We should use NULL, not 0 or "", for creating null pointers.

 Simon

--- rx.c.old    Wed Jan  9 22:35:14 2002
+++ rx.c        Thu Jan 10 14:14:36 2002
@@ -76,9 +76,9 @@
        
        /*printf("rxP_get_substr(%p, %p(%d), %d, %d)", interpreter, source, -1, 
startindex, length);*/
 
-       ret=string_make(interpreter, "", 0, 0, 0, 0);
+       ret=string_make(interpreter, NULL, 0, NULL, 0, NULL);
 
        string_substr(interpreter, source, startindex, length, &ret);
 
        return ret;
-}
\ No newline at end of file
+}

Reply via email to