diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-09-30 17:55:14 +0000 |
commit | 0938a42440cc82ce8d0cb064840c258c863714ab (patch) | |
tree | 19f58c31e65226d85c76d96647a6e300f7995c10 /libs/audiographer | |
parent | 15e390ebe5611b5443eb1fb57631826389ffd021 (diff) |
fixes for 98% of all the warnings/errors reported by OS X gcc on tiger
git-svn-id: svn://localhost/ardour2/branches/3.0@10179 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/debuggable.h | 1 | ||||
-rw-r--r-- | libs/audiographer/audiographer/process_context.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/audiographer/audiographer/debuggable.h b/libs/audiographer/audiographer/debuggable.h index 5ef382890b..79e0f80dd3 100644 --- a/libs/audiographer/audiographer/debuggable.h +++ b/libs/audiographer/audiographer/debuggable.h @@ -44,6 +44,7 @@ class Debuggable bool debug_level (DebugLevel level) { #ifdef NDEBUG + level = DEFAULT_DEBUG_LEVEL; /* stop pedantic gcc complaints about unused parameter */ return false; #else return L >= level; diff --git a/libs/audiographer/audiographer/process_context.h b/libs/audiographer/audiographer/process_context.h index 843c09b618..b73f5d69d5 100644 --- a/libs/audiographer/audiographer/process_context.h +++ b/libs/audiographer/audiographer/process_context.h @@ -43,7 +43,7 @@ public: /// Normal copy constructor ProcessContext (ProcessContext<T> const & other) - : _data (other._data), _frames (other._frames), _channels (other._channels), _flags (other._flags) + : _data (other._data), _frames (other._frames), _channels (other._channels), _flags (other._flags) { /* No need to validate data */ } /// "Copy constructor" with unique data, frame and channel count, but copies flags |