summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-22 17:36:08 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-22 17:36:08 +0200
commit63be34b54a400d1a4d589793654f825e1f97d27e (patch)
treee3fbbc830ab974fa2fd61f5cf11232b81af1501c
parentca8321a55e4c05cd1626c37ba0df65114fdc7c86 (diff)
downloaduca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.gz
uca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.bz2
uca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.xz
uca-63be34b54a400d1a4d589793654f825e1f97d27e.zip
Initialize result variable
Thanks clang!
-rw-r--r--src/uca-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 417116f..2f0744e 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -757,7 +757,7 @@ gboolean
uca_camera_grab (UcaCamera *camera, gpointer data, GError **error)
{
UcaCameraClass *klass;
- gboolean result;
+ gboolean result = FALSE;
/* FIXME: this prevents accessing two independent cameras simultanously. */
static GStaticMutex mutex = G_STATIC_MUTEX_INIT;