diff options
author | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-08-13 16:27:18 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@gmail.com> | 2012-08-13 16:27:18 +0200 |
commit | 02d824004a8eaa6eb26fadcef3f90c7de068597e (patch) | |
tree | 24dd045425129e5a3110fce703dd8b5b0244a854 /src/cameras | |
parent | 6f8f5a9c4a318e78cdba48c7526698ba99991362 (diff) | |
download | uca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.gz uca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.bz2 uca-02d824004a8eaa6eb26fadcef3f90c7de068597e.tar.xz uca-02d824004a8eaa6eb26fadcef3f90c7de068597e.zip |
Fix `uninitialized variable' warning
Diffstat (limited to 'src/cameras')
-rw-r--r-- | src/cameras/uca-ufo-camera.c | 2 |
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; |