summaryrefslogtreecommitdiffstats
path: root/tools/gui
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:47:44 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-18 13:47:44 +0200
commit2c3028f55ae1985315b8e350c1cdb26c9f7aa1a3 (patch)
treeeda03063a2bc26461764bac4f2c057f64c24a931 /tools/gui
parent4db2ac7026ae3bc85807016cb2510fed996a2a20 (diff)
downloadlibuca-2c3028f55ae1985315b8e350c1cdb26c9f7aa1a3.tar.gz
libuca-2c3028f55ae1985315b8e350c1cdb26c9f7aa1a3.tar.bz2
libuca-2c3028f55ae1985315b8e350c1cdb26c9f7aa1a3.tar.xz
libuca-2c3028f55ae1985315b8e350c1cdb26c9f7aa1a3.zip
Set error NULL to avoid printing false message
Diffstat (limited to 'tools/gui')
-rw-r--r--tools/gui/control.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gui/control.c b/tools/gui/control.c
index 0d08893..07b7937 100644
--- a/tools/gui/control.c
+++ b/tools/gui/control.c
@@ -321,6 +321,8 @@ on_download_button_clicked (GtkWidget *widget, ThreadData *data)
g_printerr ("Error while reading out frames: %s\n", error->message);
g_error_free (error);
+ error = NULL;
+
uca_camera_stop_readout (data->camera, &error);
if (error != NULL)