mann-whitney: Suppress GCC warning about unused parameter.
[pspp-builds.git] / src / language / syntax-string-source.c
index 3860b8987cc805e6226fddbcb1cdcd8b01f4475f..c40a221c3608db31e6f2f9e4e304693c9cb6c137 100644 (file)
@@ -54,7 +54,7 @@ name (const struct getl_interface *i UNUSED)
 static int
 location (const struct getl_interface *i UNUSED)
 {
-  return -1;
+  return 0;
 }
 
 
@@ -83,7 +83,7 @@ read_single_line (struct getl_interface *i,
   if ( sss->posn == -1)
     return false;
 
-  next = ss_find_char (ds_substr (&sss->buffer,
+  next = ss_find_byte (ds_substr (&sss->buffer,
                                  sss->posn, -1), '\n');
 
   ds_assign_substring (line,