aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/file.c b/file.c
index 1e141b708..08c6a8309 100644
--- a/file.c
+++ b/file.c
@@ -394,16 +394,6 @@ void parse_csv_file(const char *filename, int timef, int depthf, int tempf, int
if (filename == NULL)
return;
- if (readfile(filename, &mem) < 0) {
- if (error) {
- int len = strlen(translate("gettextFromC","Failed to read '%s'")) + strlen(filename);
- *error = malloc(len);
- snprintf(*error, len, translate("gettextFromC","Failed to read '%s'"), filename);
- }
-
- return;
- }
-
if (try_to_xslt_open_csv(filename, &mem, error))
return;