summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-01 16:58:33 +0000
committerDavid Robillard <d@drobilla.net>2008-10-01 16:58:33 +0000
commitd58eba655118adfa3c24ae74fb06eab5dedb9397 (patch)
tree974a795eb9525f44ba29043c059a479bf0bd0228 /src/engine
parenta6f5b04414bd6ffce5f0aae0be9216e0b2fe2fad (diff)
downloadingen-d58eba655118adfa3c24ae74fb06eab5dedb9397.tar.gz
ingen-d58eba655118adfa3c24ae74fb06eab5dedb9397.tar.bz2
ingen-d58eba655118adfa3c24ae74fb06eab5dedb9397.zip
Fix building without libsoup.
Documentation building either globally or per project. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1574 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/EngineStore.cpp4
-rw-r--r--src/engine/EventBuffer.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/engine/EngineStore.cpp b/src/engine/EngineStore.cpp
index 9fcd3806..0140f201 100644
--- a/src/engine/EngineStore.cpp
+++ b/src/engine/EngineStore.cpp
@@ -77,11 +77,7 @@ EngineStore::find_object(const Path& path)
void
EngineStore::add(GraphObject* obj)
{
- GraphObjectImpl* o = dynamic_cast<GraphObjectImpl*>(obj);
- assert(o);
-
assert(ThreadManager::current_thread_id() == THREAD_PRE_PROCESS);
-
Store::add(obj);
}
diff --git a/src/engine/EventBuffer.cpp b/src/engine/EventBuffer.cpp
index e8584597..e57312ad 100644
--- a/src/engine/EventBuffer.cpp
+++ b/src/engine/EventBuffer.cpp
@@ -203,8 +203,8 @@ EventBuffer::append(uint32_t frames,
bool
EventBuffer::append(const LV2_Event_Buffer* buf)
{
- uint8_t** data;
- bool ret = true;
+ uint8_t** data = NULL;
+ bool ret = true;
LV2_Event_Iterator iter;
for (lv2_event_begin(&iter, _buf); lv2_event_is_valid(&iter); lv2_event_increment(&iter)) {