From 63be34b54a400d1a4d589793654f825e1f97d27e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 22 Oct 2013 17:36:08 +0200 Subject: Initialize result variable Thanks clang! --- src/uca-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3