summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-10 15:30:51 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-10-10 15:30:51 +0200
commit8317ec2fe9c892091c1c3d021277775e91435e95 (patch)
tree86437fe61b3249f90a31c932d04fdb6a2036b8a4
parent533a6c40771212754a1341140c42bde8c5a3e017 (diff)
downloaduca-net-8317ec2fe9c892091c1c3d021277775e91435e95.tar.gz
uca-net-8317ec2fe9c892091c1c3d021277775e91435e95.tar.bz2
uca-net-8317ec2fe9c892091c1c3d021277775e91435e95.tar.xz
uca-net-8317ec2fe9c892091c1c3d021277775e91435e95.zip
Add warning if we cannot deserialize a property
-rw-r--r--uca-net-camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uca-net-camera.c b/uca-net-camera.c
index 31ee926..b108c32 100644
--- a/uca-net-camera.c
+++ b/uca-net-camera.c
@@ -484,6 +484,7 @@ deserialize_param_spec (UcaNetMessageProperty *prop)
CASE_NUMERIC (G_TYPE_FLOAT, float)
CASE_NUMERIC (G_TYPE_DOUBLE, double)
default:
+ g_warning ("Cannot deserialize property %s", prop->name);
return NULL;
}