aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-midigate.lv2/midigate.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-26 15:00:50 +0100
committerDavid Robillard <d@drobilla.net>2020-12-26 17:55:23 +0100
commitc2816ab42b458c9c5202197b3df665340f57dddd (patch)
tree1d367483a854d7117920f95b943fb01424b77529 /plugins/eg-midigate.lv2/midigate.c
parent64d4a4a46901b1b1ab4eaac4f3f57f8d353e42c5 (diff)
downloadlv2-c2816ab42b458c9c5202197b3df665340f57dddd.tar.xz
Add clang-format suppression comments
Diffstat (limited to 'plugins/eg-midigate.lv2/midigate.c')
-rw-r--r--plugins/eg-midigate.lv2/midigate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/eg-midigate.lv2/midigate.c b/plugins/eg-midigate.lv2/midigate.c
index 4d1385e..5bffeea 100644
--- a/plugins/eg-midigate.lv2/midigate.c
+++ b/plugins/eg-midigate.lv2/midigate.c
@@ -67,11 +67,14 @@ instantiate(const LV2_Descriptor* descriptor,
}
// Scan host features for URID map
+ // clang-format off
const char* missing = lv2_features_query(
features,
LV2_LOG__log, &self->logger.log, false,
LV2_URID__map, &self->map, true,
NULL);
+ // clang-format on
+
lv2_log_logger_set_map(&self->logger, self->map);
if (missing) {
lv2_log_error(&self->logger, "Missing feature <%s>\n", missing);