diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2017-05-23 08:22:14 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2017-05-23 08:22:14 +0200 |
commit | 903522450c5bc200b055493203b4636518a6ae35 (patch) | |
tree | 437f02334dd4d1a01f6c0efead43a617391db9c7 | |
parent | 884ebfecc177a6560b474e33e3b9cef7b8c74d0b (diff) | |
download | libgphoto2-903522450c5bc200b055493203b4636518a6ae35.tar.gz |
remove warnings
-rw-r--r-- | camlibs/ptp2/library.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 9fd8a0e09..e537bd74e 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -3938,10 +3938,12 @@ camera_fuji_capture (Camera *camera, CameraCaptureType type, CameraFilePath *pat PTPPropertyValue propval; PTPObjectHandles handles, beforehandles; int tries; - PTPContainer event; uint32_t newobject; +#if 0 + PTPContainer event; struct timeval event_start; int back_off_wait = 0; +#endif GP_LOG_D ("camera_fuji_capture"); @@ -4040,7 +4042,9 @@ camera_fuji_capture (Camera *camera, CameraCaptureType type, CameraFilePath *pat if (!newobject) GP_LOG_D ("fuji object added no new file found after 5 seconds?!?"); +#if 0 downloadfile: +#endif /* clear path, so we get defined results even without object info */ path->name[0]='\0'; path->folder[0]='\0'; |