From 5e70c60e54e543384f91dbb65929e0b57fd0c330 Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Mon, 13 Apr 2020 12:39:18 +0200 Subject: [PATCH] Remove plugins/LadspaEffect/swh/ladspa-util.c 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 431ba955eab..00000000000 --- 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; -}