diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-10-22 17:36:08 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-10-22 17:36:08 +0200 |
commit | 63be34b54a400d1a4d589793654f825e1f97d27e (patch) | |
tree | e3fbbc830ab974fa2fd61f5cf11232b81af1501c /src | |
parent | ca8321a55e4c05cd1626c37ba0df65114fdc7c86 (diff) | |
download | libuca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.gz libuca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.bz2 libuca-63be34b54a400d1a4d589793654f825e1f97d27e.tar.xz libuca-63be34b54a400d1a4d589793654f825e1f97d27e.zip |
Initialize result variable
Thanks clang!
Diffstat (limited to 'src')
-rw-r--r-- | src/uca-camera.c | 2 |
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; |