From cb21a7b08354134307637eb822a3c1ad9cb7ed23 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Jan 2008 19:52:36 +0000 Subject: RAUL code cleanup. git-svn-id: http://svn.drobilla.net/lad/raul@999 a436a847-0d15-0410-975c-d299462d15a1 --- raul/AtomLiblo.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'raul/AtomLiblo.hpp') 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(atom.get_blob())); break; - default: // This catches Atom::Type::NIL too + case Atom::NIL: + default: lo_message_add_nil(m); break; } -- cgit v1.2.1