summaryrefslogtreecommitdiffstats
path: root/src/engine/EventBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/EventBuffer.cpp')
-rw-r--r--src/engine/EventBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
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)) {