hwpfilter/source/hcode.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 725b7a37e760b660781b2d2740c6207559f01f44
Author: Stephan Bergmann <[email protected]>
AuthorDate: Fri Nov 8 10:20:01 2019 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Fri Nov 8 12:37:45 2019 +0100
-Werror,-Wunused-macros (clang-cl)
Not sure why the unused-macro warning for isnan only started to show now
that I
build on Windows with clang-cl against MSVC 2019 (rather than 2017). The
code
was there ever since 16cba77220efab8204eeecb49ccd3ec033efca38 "#112673#
initial
checkin of HWP filter", but there appears to never have been any use of
isnan at
least in hwpfilter/ itself.
Change-Id: Ib202da91806baf347bbaf1ac2a47bcc7f81bd868
Reviewed-on: https://gerrit.libreoffice.org/82271
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx
index f67a4e777a96..fda36e0953ca 100644
--- a/hwpfilter/source/hcode.cxx
+++ b/hwpfilter/source/hcode.cxx
@@ -30,10 +30,6 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#ifdef _MSC_VER
-#include <float.h>
-#define isnan _isnan
-#endif
#include "hcode.h"
#include "ksc5601.h"
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits