From 02d824004a8eaa6eb26fadcef3f90c7de068597e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 13 Aug 2012 16:27:18 +0200 Subject: Fix `uninitialized variable' warning --- src/cameras/uca-ufo-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cameras') diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 51b984a..5f59f4a 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -164,7 +164,7 @@ UcaUfoCamera *uca_ufo_camera_new(GError **error) ufo_property_table = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, g_free); for (guint i = 0; model_description->registers[i].name != NULL; i++) { - GParamFlags flags; + GParamFlags flags = 0; RegisterInfo *reg_info; gchar *prop_name; pcilib_register_description_t *reg; -- cgit v1.2.3