summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);