diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2009-02-16 07:46:55 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2009-02-16 07:46:55 +0000 |
commit | 2d0eae7c878f9ee870df185d27e0fafd120a4b42 (patch) | |
tree | 23b3e362126278cb6f02e0ba51e97dbc2dd6d9c6 /camlibs/casio | |
parent | 0a7f32a0b97b0602ebf4c7dafdd7cb24283803ba (diff) | |
download | libgphoto2-2d0eae7c878f9ee870df185d27e0fafd120a4b42.tar.gz |
removed unneeded gp_file_set_name
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11817 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'camlibs/casio')
-rw-r--r-- | camlibs/casio/casio-qv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/camlibs/casio/casio-qv.c b/camlibs/casio/casio-qv.c index 7ca3d41a8..d5f9d95d0 100644 --- a/camlibs/casio/casio-qv.c +++ b/camlibs/casio/casio-qv.c @@ -152,9 +152,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, return (GP_ERROR_NOT_SUPPORTED); } - CHECK_RESULT (gp_file_set_data_and_size (file, data, size)); - CHECK_RESULT (gp_file_set_name (file, filename)); - + CHECK_RESULT (gp_file_set_data_and_size (file, (char*)data, size)); return (GP_OK); } |