summaryrefslogtreecommitdiffstats
path: root/raul/AtomLiblo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'raul/AtomLiblo.hpp')
-rw-r--r--raul/AtomLiblo.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/raul/AtomLiblo.hpp b/raul/AtomLiblo.hpp
index 88adf1a..e21e6c3 100644
--- a/raul/AtomLiblo.hpp
+++ b/raul/AtomLiblo.hpp
@@ -34,9 +34,6 @@ class AtomLiblo {
public:
static void lo_message_add_atom(lo_message m, const Atom& atom) {
switch (atom.type()) {
- //case NIL:
- // (see below)
- //break;
case Atom::INT:
lo_message_add_int32(m, atom.get_int32());
break;
@@ -50,7 +47,8 @@ public:
// FIXME: is this okay? what does liblo do?
lo_message_add_blob(m, const_cast<void*>(atom.get_blob()));
break;
- default: // This catches Atom::Type::NIL too
+ case Atom::NIL:
+ default:
lo_message_add_nil(m);
break;
}