diff options
author | David Robillard <d@drobilla.net> | 2024-10-06 17:00:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-11 19:37:24 -0400 |
commit | 932c0db65e54d24cbc9131e00412a7f0a8f2bcd2 (patch) | |
tree | 1a2e3542d8e480e6135243b5e96b62ac84b0322d /src/server | |
parent | 1ecbb458c9877cf18d0438449d8757fb713d46d2 (diff) | |
download | ingen-932c0db65e54d24cbc9131e00412a7f0a8f2bcd2.tar.gz ingen-932c0db65e54d24cbc9131e00412a7f0a8f2bcd2.tar.bz2 ingen-932c0db65e54d24cbc9131e00412a7f0a8f2bcd2.zip |
Reduce variable scopes
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/events/Delta.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Delta.cpp b/src/server/events/Delta.cpp index 3f9e3b9d..96f13ee5 100644 --- a/src/server/events/Delta.cpp +++ b/src/server/events/Delta.cpp @@ -316,8 +316,8 @@ Delta::pre_process(PreProcessContext& ctx) const Property& value = p.second; SpecialType op = SpecialType::NONE; if (obj) { - Resource& resource = *obj; if (value != uris.patch_wildcard) { + Resource& resource = *obj; if (resource.add_property(key, value, value.context())) { _added.emplace(key, value); } |