summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-01-24 10:28:12 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2018-01-24 10:28:12 +0100
commit5b3447122c12aafca71f6d61be87eb0dac19d0fb (patch)
treeaff9c0ce861e95480ac8a3505c7e0301aa89d8af
parentf8efbe7090662cda1d2fb89920c203ba725c9901 (diff)
downloaduca-net-5b3447122c12aafca71f6d61be87eb0dac19d0fb.tar.gz
uca-net-5b3447122c12aafca71f6d61be87eb0dac19d0fb.tar.bz2
uca-net-5b3447122c12aafca71f6d61be87eb0dac19d0fb.tar.xz
uca-net-5b3447122c12aafca71f6d61be87eb0dac19d0fb.zip
Remove debug output and misleading comment
-rw-r--r--ucad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ucad.c b/ucad.c
index 28d83d8..6e401b1 100644
--- a/ucad.c
+++ b/ucad.c
@@ -133,12 +133,10 @@ serialize_param_spec (GParamSpec *pspec, UcaNetMessageProperty *prop)
if (enum_class->n_values > UCA_NET_MAX_ENUM_LENGTH)
g_warning ("Cannot serialize all values of %s", prop->name);
- /* We do not transfer the enum value names (yet) ... */
for (guint i = 0; i < MIN (enum_class->n_values, UCA_NET_MAX_ENUM_LENGTH); i++) {
prop->spec.genum.values[i] = enum_class->values[i].value;
strncpy (prop->spec.genum.value_names[i], enum_class->values[i].value_name,
UCA_NET_MAX_ENUM_NAME_LENGTH);
- g_print ("copied %s\n", prop->spec.genum.value_names[i]);
}
return;