summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Delete.cpp1
-rw-r--r--src/server/events/SetMetadata.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index 0b975298..d0fbb5fa 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -53,7 +53,6 @@ Delete::Delete(Engine& engine,
, _lock(engine.engine_store()->lock(), Glib::NOT_LOCK)
{
assert(request);
- assert(request->source());
if (Raul::Path::is_path(uri))
_path = Raul::Path(uri.str());
diff --git a/src/server/events/SetMetadata.cpp b/src/server/events/SetMetadata.cpp
index a304d245..4133803b 100644
--- a/src/server/events/SetMetadata.cpp
+++ b/src/server/events/SetMetadata.cpp
@@ -126,7 +126,7 @@ SetMetadata::pre_process()
Shared::ResourceImpl::type(uris, _properties, is_patch, is_node, is_port, is_output);
// Create a separate request without a source so EventSource isn't unblocked twice
- SharedPtr<Request> sub_request(new Request(NULL, _request->client(), _request->id()));
+ SharedPtr<Request> sub_request(new Request(_request->client(), _request->id()));
if (is_patch) {
uint32_t poly = 1;