From 27b1ce914b40bea0bfa4b9ac857ffe2a92fb4407 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz <1042576+JohannesLorenz@users.noreply.github.com> Date: Wed, 22 Apr 2020 10:35:00 +0200 Subject: [PATCH] Remove plugins/LadspaEffect/swh/ladspa-util.c (#5451) This file contains no used code and it caused build problems, so we remove it. Thanks to @plater for the issue report. --- plugins/LadspaEffect/swh/ladspa-util.c | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 plugins/LadspaEffect/swh/ladspa-util.c diff --git a/plugins/LadspaEffect/swh/ladspa-util.c b/plugins/LadspaEffect/swh/ladspa-util.c deleted file mode 100644 index 431ba955e..000000000 --- a/plugins/LadspaEffect/swh/ladspa-util.c +++ /dev/null @@ -1,22 +0,0 @@ -/* truncate: - - Truncates a float down to an int without worrying about - the stack and crap like that. -*/ - -//static const float _truncate_half = 0.5f; - -int truncate(float flt) { - int i; - - i = flt; -/* - asm ( - "flds 8(%ebp)\n" - "\tfsubs _truncate_half\n" - "\tfistpl -4(%ebp)\n" - ); -*/ - - return i; -}