summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-filesys.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test-filesys.c b/tests/test-filesys.c
index 531cc02d0..88c37ac78 100644
--- a/tests/test-filesys.c
+++ b/tests/test-filesys.c
@@ -75,9 +75,7 @@ get_info_func (CameraFilesystem __unused__ *fs, const char __unused__ *folder,
printf (" -> The camera will get the file info here.\n");
info->preview.fields = GP_FILE_INFO_NONE;
- info->file.fields = GP_FILE_INFO_NAME;
- strcpy (info->file.name, file);
-
+ info->file.fields = GP_FILE_INFO_NONE;
return (GP_OK);
}