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:
Hans Ulrich Niedermann
2002-01-03 11:29:53 +00:00
parent 8b061b8f08
commit e1d9d0dcdd

View File

@@ -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) {