canon_int_get_disk_name(): fixed default branch
canon_int_get_thumbnail(): fixed default branch git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3676 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -548,7 +548,7 @@ canon_int_get_disk_name (Camera *camera)
|
||||
return NULL;
|
||||
}
|
||||
break;
|
||||
GP_PORT_DEFAULT
|
||||
GP_PORT_DEFAULT_RETURN(NULL)
|
||||
}
|
||||
|
||||
if (camera->port->type == GP_PORT_SERIAL) {
|
||||
@@ -1077,7 +1077,7 @@ canon_int_get_thumbnail (Camera *camera, const char *name, int *length)
|
||||
&total_file_size);
|
||||
}
|
||||
break;
|
||||
GP_PORT_DEFAULT
|
||||
GP_PORT_DEFAULT_RETURN(NULL)
|
||||
}
|
||||
|
||||
switch (camera->pl->md->model) {
|
||||
|
||||
Reference in New Issue
Block a user