diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2015-06-07 19:58:02 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2015-06-07 19:58:02 +0000 |
commit | 79103db855760f873f0e78212ad3f2558259b6c5 (patch) | |
tree | 4e74ad4533cee2ded95c5a0e905cab468029fbbc | |
parent | 119a21e9d93e2ab65739600e67a9822f2d06f62c (diff) | |
download | libgphoto2-79103db855760f873f0e78212ad3f2558259b6c5.tar.gz |
check return of ptp_canon_setobjectarchive (Coverity)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15454 67ed7778-7388-44ab-90cf-0a291f65f57c
-rw-r--r-- | camlibs/ptp2/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index ecfd0f0d4..fe54d9299 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -5833,7 +5833,7 @@ read_file_func (CameraFilesystem *fs, const char *folder, const char *filename, ptp_operation_issupported(params,PTP_OC_CANON_SetObjectArchive) ) { /* seems just a byte (0x20 - new) */ - ptp_canon_setobjectarchive (params, oid, ob->canon_flags & ~0x20); + C_PTP_REP (ptp_canon_setobjectarchive (params, oid, ob->canon_flags & ~0x20)); ob->canon_flags &= ~0x20; } } |