diff options
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/Interface.hpp | 2 | ||||
-rw-r--r-- | ingen/LV2Features.hpp | 2 | ||||
-rw-r--r-- | ingen/Module.hpp | 4 | ||||
-rw-r--r-- | ingen/Node.hpp | 8 | ||||
-rw-r--r-- | ingen/Resource.hpp | 4 | ||||
-rw-r--r-- | ingen/URIs.hpp | 7 | ||||
-rw-r--r-- | ingen/client/ObjectModel.hpp | 4 | ||||
-rw-r--r-- | ingen/client/PortModel.hpp | 4 | ||||
-rw-r--r-- | ingen/types.hpp | 2 |
9 files changed, 17 insertions, 20 deletions
diff --git a/ingen/Interface.hpp b/ingen/Interface.hpp index 2af4eb76..3137a679 100644 --- a/ingen/Interface.hpp +++ b/ingen/Interface.hpp @@ -57,7 +57,7 @@ public: virtual SPtr<Interface> respondee() const { return SPtr<Interface>(); } - virtual void set_respondee(SPtr<Interface> respondee) {} + virtual void set_respondee(SPtr<Interface>) {} virtual void message(const Message& msg) = 0; diff --git a/ingen/LV2Features.hpp b/ingen/LV2Features.hpp index 541af576..2b6008f2 100644 --- a/ingen/LV2Features.hpp +++ b/ingen/LV2Features.hpp @@ -57,7 +57,7 @@ protected: const char* uri() const override { return _uri; } - SPtr<LV2_Feature> feature(World* world, Node* block) override { + SPtr<LV2_Feature> feature(World*, Node*) override { return SPtr<LV2_Feature>(); } diff --git a/ingen/Module.hpp b/ingen/Module.hpp index 405f4fa1..6354ed96 100644 --- a/ingen/Module.hpp +++ b/ingen/Module.hpp @@ -40,8 +40,8 @@ public: Module(const Module&) = delete; Module& operator=(const Module&) = delete; - virtual void load(ingen::World* world) = 0; - virtual void run(ingen::World* world) {} + virtual void load(ingen::World*) = 0; + virtual void run(ingen::World*) {} /** Library implementing this module. * diff --git a/ingen/Node.hpp b/ingen/Node.hpp index 90a6e53f..cd900f9c 100644 --- a/ingen/Node.hpp +++ b/ingen/Node.hpp @@ -69,13 +69,13 @@ public: const Arcs& arcs() const { return _arcs; } // Blocks and graphs only - virtual uint32_t num_ports() const { return 0; } - virtual Node* port(uint32_t index) const { return nullptr; } - virtual const Resource* plugin() const { return nullptr; } + virtual uint32_t num_ports() const { return 0; } + virtual Node* port(uint32_t) const { return nullptr; } + virtual const Resource* plugin() const { return nullptr; } // Plugin blocks only virtual LilvInstance* instance() { return nullptr; } - virtual bool save_state(const FilePath& dir) const { return false; } + virtual bool save_state(const FilePath&) const { return false; } // All objects virtual GraphType graph_type() const = 0; diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp index 94d92e12..0a1c5ec8 100644 --- a/ingen/Resource.hpp +++ b/ingen/Resource.hpp @@ -157,7 +157,7 @@ public: * This can be used by derived classes to implement special behaviour for * particular properties (e.g. ingen:value for ports). */ - virtual void on_property(const URI& uri, const Atom& value) {} + virtual void on_property(const URI&, const Atom&) {} /** Hook called whenever a property value is removed. * @@ -166,7 +166,7 @@ public: * This can be used by derived classes to implement special behaviour for * particular properties (e.g. ingen:value for ports). */ - virtual void on_property_removed(const URI& uri, const Atom& value) {} + virtual void on_property_removed(const URI&, const Atom&) {} /** Get the ingen type from a set of Properties. * diff --git a/ingen/URIs.hpp b/ingen/URIs.hpp index eb657473..71c56678 100644 --- a/ingen/URIs.hpp +++ b/ingen/URIs.hpp @@ -39,13 +39,10 @@ class URIMap; */ class INGEN_API URIs : public Raul::Noncopyable { public: - URIs(ingen::Forge& forge, URIMap* map, LilvWorld* lworld); + URIs(ingen::Forge& forge, LilvWorld* lworld); struct Quark : public URI { - Quark(ingen::Forge& forge, - URIMap* map, - LilvWorld* lworld, - const char* str); + Quark(ingen::Forge& forge, LilvWorld* lworld, const char* str); Quark(const Quark& copy); diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp index 0c517ccf..fe5b64d8 100644 --- a/ingen/client/ObjectModel.hpp +++ b/ingen/client/ObjectModel.hpp @@ -86,8 +86,8 @@ protected: void set_path(const Raul::Path& p) override; virtual void set_parent(SPtr<ObjectModel> p); - virtual void add_child(SPtr<ObjectModel> c) {} - virtual bool remove_child(SPtr<ObjectModel> c) { return true; } + virtual void add_child(SPtr<ObjectModel>) {} + virtual bool remove_child(SPtr<ObjectModel>) { return true; } virtual void set(SPtr<ObjectModel> o); diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index fcb46c4f..45ce7fbf 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -82,8 +82,8 @@ private: , _direction(dir) {} - void add_child(SPtr<ObjectModel> c) override { throw; } - bool remove_child(SPtr<ObjectModel> c) override { throw; } + void add_child(SPtr<ObjectModel>) override { throw; } + bool remove_child(SPtr<ObjectModel>) override { throw; } void set(SPtr<ObjectModel> model) override; diff --git a/ingen/types.hpp b/ingen/types.hpp index 5e0d7506..7bb73441 100644 --- a/ingen/types.hpp +++ b/ingen/types.hpp @@ -25,7 +25,7 @@ namespace ingen { template <class T> -void NullDeleter(T* ptr) {} +void NullDeleter(T*) {} template <class T> struct FreeDeleter { void operator()(T* const ptr) { free(ptr); } }; |