summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-08-13 16:27:18 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-08-13 16:27:18 +0200
commit02d824004a8eaa6eb26fadcef3f90c7de068597e (patch)
tree24dd045425129e5a3110fce703dd8b5b0244a854 /src
parent6f8f5a9c4a318e78cdba48c7526698ba99991362 (diff)
downloadlibuca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.gz
libuca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.bz2
libuca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.xz
libuca-02d824004a8eaa6eb26fadcef3f90c7de068597e.zip
Fix `uninitialized variable' warning
Diffstat (limited to 'src')
-rw-r--r--src/cameras/uca-ufo-camera.c2
1 files changed, 1 insertions, 1 deletions
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;