From ad2bddcbee17a637a73d24ede3ecffde8d499b62 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Nov 2011 19:56:38 +0000 Subject: Lint. --- ext/atom.lv2/atom-helpers.h | 6 +++--- ext/atom.lv2/atom.h | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'ext/atom.lv2') diff --git a/ext/atom.lv2/atom-helpers.h b/ext/atom.lv2/atom-helpers.h index 71c16e9..ae4bc6f 100644 --- a/ext/atom.lv2/atom-helpers.h +++ b/ext/atom.lv2/atom-helpers.h @@ -170,8 +170,8 @@ lv2_atom_is_a(LV2_Atom* object, /** A single entry in an Object query. */ typedef struct { - uint32_t key; ///< Key to query (input set by user) - const LV2_Atom* value; ///< Found value (output set by query function) + uint32_t key; /**< Key to query (input set by user) */ + const LV2_Atom* value; /**< Found value (output set by query function) */ } LV2_Object_Query; /** @@ -189,7 +189,7 @@ lv2_object_query(const LV2_Atom* object, LV2_Object_Query* query) int matches = 0; int n_queries = 0; - // Count number of query keys so we can short-circuit when done + /* Count number of query keys so we can short-circuit when done */ for (LV2_Object_Query* q = query; q->key; ++q) ++n_queries; diff --git a/ext/atom.lv2/atom.h b/ext/atom.lv2/atom.h index ed5ddd8..61482c7 100644 --- a/ext/atom.lv2/atom.h +++ b/ext/atom.lv2/atom.h @@ -35,8 +35,6 @@ #include #include -#define LV2_ATOM_FROM_EVENT(ev) ((LV2_Atom*)&((LV2_Event*)ev)->type) - /** An LV2 Atom. -- cgit v1.2.1