summaryrefslogtreecommitdiffstats
path: root/src/pluginlist.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-20 21:25:38 +0000
committerDavid Robillard <d@drobilla.net>2007-04-20 21:25:38 +0000
commit09e5c017b096bc84bbbc0b273baffd221144213a (patch)
tree9a591b9b23132cd0e98e5ec85a20256290e5a141 /src/pluginlist.c
parent500fab47e5e9aadb6e09a71a6c3447e97f3a6d6a (diff)
downloadlilv-09e5c017b096bc84bbbc0b273baffd221144213a.tar.gz
lilv-09e5c017b096bc84bbbc0b273baffd221144213a.tar.bz2
lilv-09e5c017b096bc84bbbc0b273baffd221144213a.zip
Preliminary categories support.
git-svn-id: http://svn.drobilla.net/lad/slv2@465 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/pluginlist.c')
-rw-r--r--src/pluginlist.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pluginlist.c b/src/pluginlist.c
index d4cd058..da003a5 100644
--- a/src/pluginlist.c
+++ b/src/pluginlist.c
@@ -17,13 +17,11 @@
*/
#define _XOPEN_SOURCE 500
-#include <limits.h>
#include <string.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <assert.h>
-#include <dirent.h>
#include <librdf.h>
#include <slv2/types.h>
#include <slv2/plugin.h>
@@ -308,8 +306,6 @@ slv2_plugins_get_by_uri(SLV2Plugins list, const char* uri)
SLV2Plugin
slv2_plugins_get_at(SLV2Plugins list, unsigned index)
{
- assert(list);
-
if (index > INT_MAX)
return NULL;
else