aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/event
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/event')
-rw-r--r--lv2/event/event-helpers.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lv2/event/event-helpers.h b/lv2/event/event-helpers.h
index eaac287..f514155 100644
--- a/lv2/event/event-helpers.h
+++ b/lv2/event/event-helpers.h
@@ -80,9 +80,8 @@ lv2_event_buffer_new(uint32_t capacity, uint16_t stamp_type)
buf->capacity = capacity;
lv2_event_buffer_reset(buf, stamp_type, (uint8_t *)(buf + 1));
return buf;
- } else {
- return NULL;
}
+ return NULL;
}