summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-17 21:35:46 +0000
committerDavid Robillard <d@drobilla.net>2006-07-17 21:35:46 +0000
commitddaffbd41661e1bd24a9034331172c5d94f41241 (patch)
tree5ef741d557bece8e7e9c2464b7941a07a2e44bac /src/libs/engine
parent1b8e22760a3f1004fd19495bd10dc878b87c205f (diff)
downloadingen-ddaffbd41661e1bd24a9034331172c5d94f41241.tar.gz
ingen-ddaffbd41661e1bd24a9034331172c5d94f41241.tar.bz2
ingen-ddaffbd41661e1bd24a9034331172c5d94f41241.zip
Stricter warning cleanliness
git-svn-id: http://svn.drobilla.net/lad/ingen@90 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/Buffer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libs/engine/Buffer.cpp b/src/libs/engine/Buffer.cpp
index a0feeec2..a7f11e8f 100644
--- a/src/libs/engine/Buffer.cpp
+++ b/src/libs/engine/Buffer.cpp
@@ -133,7 +133,6 @@ template <typename T>
void
Buffer<T>::set(T val, size_t start_sample, size_t end_sample)
{
- assert(start_sample >= 0);
assert(end_sample >= start_sample);
assert(end_sample < m_size);
assert(m_data != NULL);
@@ -153,7 +152,6 @@ template <typename T>
void
Buffer<T>::scale(T val, size_t start_sample, size_t end_sample)
{
- assert(start_sample >= 0);
assert(end_sample >= start_sample);
assert(end_sample < m_size);
assert(m_data != NULL);
@@ -173,7 +171,6 @@ template <typename T>
void
Buffer<T>::copy(const Buffer<T>* src, size_t start_sample, size_t end_sample)
{
- assert(start_sample >= 0);
assert(end_sample >= start_sample);
assert(end_sample < m_size);
assert(src != NULL);
@@ -198,7 +195,6 @@ template <typename T>
void
Buffer<T>::accumulate(const Buffer<T>* const src, size_t start_sample, size_t end_sample)
{
- assert(start_sample >= 0);
assert(end_sample >= start_sample);
assert(end_sample < m_size);
assert(src != NULL);