aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 1423c4d3..d5029a1c 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -629,20 +629,6 @@ int image_set_zero_mask(struct image *image,
}
-static int file_exists(const char *filename)
-{
- struct stat statbuf;
- int r;
-
- r = stat(filename, &statbuf);
- if ( r != 0 ) {
- return 0;
- }
-
- return 1;
-}
-
-
static int image_read_image_data(struct image *image,
const DataTemplate *dtempl,
const char *filename,