summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 20:41:54 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 20:41:54 +0000
commit1c83f12c6810dd4925ab1524b2edcd644d932bf1 (patch)
treef113dcc9c363aa28944164e99361419e0915373f /libs/ardour/ardour/port.h
parent07be98b3410ac70b3c4451592fb88def678611ef (diff)
Fix warnings.
Hopefully that offset is an audio cycle offset, or someone's used the wrong type ;) git-svn-id: svn://localhost/ardour2/branches/3.0@5777 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r--libs/ardour/ardour/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h
index 5567b2170e..2597fa9601 100644
--- a/libs/ardour/ardour/port.h
+++ b/libs/ardour/ardour/port.h
@@ -111,7 +111,7 @@ public:
virtual void cycle_split () = 0;
virtual Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) = 0;
virtual void flush_buffers (nframes_t nframes, nframes64_t /*time*/, nframes_t offset = 0) {
- (void) offset;
+ assert(offset < nframes);
}
virtual void transport_stopped () {}