summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-07-19 15:23:32 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-07-19 15:23:32 +0200
commitd0aabc426cb01d488e9d41a66623773da73ff5e3 (patch)
tree16e2420d5a9c5b34123b8a0fc3d61c8a1704db64
parent3e8607ee49cc7f4570f41c9c7deb2d7f9f7ff1ec (diff)
downloaduca-d0aabc426cb01d488e9d41a66623773da73ff5e3.tar.gz
uca-d0aabc426cb01d488e9d41a66623773da73ff5e3.tar.bz2
uca-d0aabc426cb01d488e9d41a66623773da73ff5e3.tar.xz
uca-d0aabc426cb01d488e9d41a66623773da73ff5e3.zip
Fix unused variable warnings
-rw-r--r--plugins/mock/uca-mock-camera.c1
-rw-r--r--src/uca-camera.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c
index 168a705..b8bf505 100644
--- a/plugins/mock/uca-mock-camera.c
+++ b/plugins/mock/uca-mock-camera.c
@@ -457,7 +457,6 @@ ufo_mock_camera_initable_init (GInitable *initable,
GError **error)
{
UcaMockCameraPrivate *priv;
- gdouble step_size;
g_return_val_if_fail (UCA_IS_MOCK_CAMERA (initable), FALSE);
priv = UCA_MOCK_CAMERA_GET_PRIVATE (UCA_MOCK_CAMERA (initable));
diff --git a/src/uca-camera.c b/src/uca-camera.c
index 8d83b2c..1c88cea 100644
--- a/src/uca-camera.c
+++ b/src/uca-camera.c
@@ -334,12 +334,9 @@ uca_camera_dispose (GObject *object)
static void
uca_camera_finalize (GObject *object)
{
- UcaCameraPrivate *priv;
GParamSpec **props;
guint n_props;
- priv = UCA_CAMERA_GET_PRIVATE (object);
-
/* We will reset property units of all subclassed objects */
props = g_object_class_list_properties (G_OBJECT_GET_CLASS (object), &n_props);