simplify function specifications in CTABLES
[pspp] / src / data / case-tmpfile.c
index 907a926f9ece6281de146af02adbd880a5570d23..0290f51126380366a233e8a3e5dc1f6eb8c22a68 100644 (file)
@@ -26,7 +26,6 @@
 #include "libpspp/taint.h"
 #include "libpspp/ext-array.h"
 
-#include "gl/error.h"
 #include "gl/xalloc.h"
 
 /* A temporary file that stores an array of cases. */
@@ -57,7 +56,7 @@ value_to_data (const union value *value_, int width)
   if (width == 0)
     return &value->f;
   else
-    return value_str_rw (value, width);
+    return value->s;
 }
 
 /* Creates and returns a new case_tmpfile that will store cases