diff --git a/examples/lunkwill-canon-capture.c b/examples/lunkwill-canon-capture.c index 7c908809b..4e215050d 100644 --- a/examples/lunkwill-canon-capture.c +++ b/examples/lunkwill-canon-capture.c @@ -149,9 +149,9 @@ capture_to_file(Camera *canon, GPContext *canoncontext, char *fn) { CameraFile *canonfile; const char *filedata; unsigned long int filesize; + CameraFilePath camera_file_path; printf("Capturing.\n"); - CameraFilePath camera_file_path; /* NOP: This gets overridden in the library to /capt0000.jpg */ strcpy(camera_file_path.folder, "/");