summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-03 11:29:28 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-02-03 11:29:28 +0100
commit5412f817f86b66062e6e2567faa88948bb661652 (patch)
tree6cdc24ee58dcf34c867055b14df42758e2a54146 /src/uca.c
parent3994e7e9e476bc575b14a1b1705f1cfa65e1ae6c (diff)
downloadlibuca-5412f817f86b66062e6e2567faa88948bb661652.tar.gz
libuca-5412f817f86b66062e6e2567faa88948bb661652.tar.bz2
libuca-5412f817f86b66062e6e2567faa88948bb661652.tar.xz
libuca-5412f817f86b66062e6e2567faa88948bb661652.zip
Fix compilation warnings and errors
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uca.c b/src/uca.c
index 1d07ea4..3b2a84c 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -346,6 +346,7 @@ uint32_t uca_cam_release_buffer(struct uca_camera *cam, void *buffer)
struct uca_camera_priv *priv = cam->priv;
if (priv->release_buffer != NULL)
return priv->release_buffer(priv, buffer);
+ return UCA_ERR_NOT_IMPLEMENTED;
}
uint32_t uca_cam_grab(struct uca_camera *cam, char *buffer, void *meta_data)