diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-10 17:46:39 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-10 17:46:39 +0100 |
commit | 9088b328b51e685d424fd21817e8aab456d6ab24 (patch) | |
tree | 7194af15bd163f408daeb1232a4a1140b40c099d /src/cameras/pf.c | |
parent | a1e34e365b84d5a1c47dbcffa4141303533a55e7 (diff) | |
download | uca-9088b328b51e685d424fd21817e8aab456d6ab24.tar.gz uca-9088b328b51e685d424fd21817e8aab456d6ab24.tar.bz2 uca-9088b328b51e685d424fd21817e8aab456d6ab24.tar.xz uca-9088b328b51e685d424fd21817e8aab456d6ab24.zip |
Fix all warnings issued by -Wall
Diffstat (limited to 'src/cameras/pf.c')
-rw-r--r-- | src/cameras/pf.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/cameras/pf.c b/src/cameras/pf.c index a39fd3d..c199576 100644 --- a/src/cameras/pf.c +++ b/src/cameras/pf.c @@ -55,11 +55,6 @@ static struct uca_pf_map uca_to_pf[] = { { -1, NULL } }; -static uint32_t uca_pf_acquire_image(struct uca_camera_t *cam, void *buffer) -{ - return UCA_NO_ERROR; -} - static uint32_t uca_pf_set_property(struct uca_camera_t *cam, enum uca_property_ids property, void *data) { struct uca_grabber_t *grabber = cam->grabber; @@ -128,7 +123,6 @@ static uint32_t uca_pf_set_property(struct uca_camera_t *cam, enum uca_property_ static uint32_t uca_pf_get_property(struct uca_camera_t *cam, enum uca_property_ids property, void *data) { - struct uca_grabber_t *grabber = cam->grabber; TOKEN t; /* You gotta love developers who name types capitalized... */ PFValue value; @@ -160,6 +154,9 @@ static uint32_t uca_pf_get_property(struct uca_camera_t *cam, enum uca_property_ case PF_MODE: set_void(data, uint32_t, (uint32_t) value.value.i); break; + + default: + break; } return UCA_NO_ERROR; } |