aboutsummaryrefslogtreecommitdiff
path: root/mapper.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-01-27 18:32:20 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-01-27 18:32:20 +0100
commitcd4a5e28c2958449734f4c0ad0a463b7bbe34480 (patch)
treedfca48258ece452d16c296e096bc4d6ddce79bc9 /mapper.lv2
parente8158f617e0ab86410fd62932488cd1810d44181 (diff)
downloadsynthpod-cd4a5e28c2958449734f4c0ad0a463b7bbe34480.zip
synthpod-cd4a5e28c2958449734f4c0ad0a463b7bbe34480.tar.gz
synthpod-cd4a5e28c2958449734f4c0ad0a463b7bbe34480.tar.bz2
synthpod-cd4a5e28c2958449734f4c0ad0a463b7bbe34480.tar.xz
Squashed 'mapper.lv2/' changes from 571efaa..e388c3c
e388c3c Merge branch 'master' of /media/sdext/omk/mapper.lv2 f99e396 only use attribute fallthrough on newwer gcc. git-subtree-dir: mapper.lv2 git-subtree-split: e388c3c89da323f6ae717ea04a3597a1153fa3d4
Diffstat (limited to 'mapper.lv2')
-rw-r--r--mapper.lv2/mapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mapper.lv2/mapper.h b/mapper.lv2/mapper.h
index e3aa0c3..8c653eb 100644
--- a/mapper.lv2/mapper.h
+++ b/mapper.lv2/mapper.h
@@ -147,10 +147,14 @@ _mapper_murmur3_32(const void *data, size_t nbytes)
{
case 3:
k ^= tail[2] << 16;
+#if __GNUC__ >= 7
__attribute__((fallthrough));
+#endif
case 2:
k ^= tail[1] << 8;
+#if __GNUC__ >= 7
__attribute__((fallthrough));
+#endif
case 1:
k ^= tail[0];
k *= c1;