diff options
author | Siim Meerits <sh0@yutani.ee> | 2020-08-31 12:20:01 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2020-08-31 12:20:01 +0200 |
commit | 2360578577b25fdbd74aa9a3d020f0185d0edde8 (patch) | |
tree | 0e8a47c53b7cafdd470846b05eb4eadb4206c309 /camlibs/iclick | |
parent | 6ca7a554709a2449e4bfb55350ac11e56affb0e2 (diff) | |
download | libgphoto2-2360578577b25fdbd74aa9a3d020f0185d0edde8.tar.gz |
fixed one missing struct initializer
comment a fallthrough
Diffstat (limited to 'camlibs/iclick')
-rw-r--r-- | camlibs/iclick/library.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camlibs/iclick/library.c b/camlibs/iclick/library.c index 1272773aa..89bd87368 100644 --- a/camlibs/iclick/library.c +++ b/camlibs/iclick/library.c @@ -60,7 +60,7 @@ static struct { unsigned short idProduct; } models[] = { {"iClick 5X", GP_DRIVER_STATUS_EXPERIMENTAL, 0x2770, 0x9153}, - {NULL,0,0} + {NULL,0,0,0} }; int @@ -255,6 +255,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, if (icl_get_width_height (camera->pl, entry, &w, &h) >= GP_OK) break; /* Known format, process image */ /* Unsupported format, fallthrough to raw */ + /* fallthrough */ case GP_FILE_TYPE_RAW: gp_file_set_mime_type (file, GP_MIME_RAW); gp_file_adjust_name_for_mime_type (file); |