aboutsummaryrefslogtreecommitdiffstats
path: root/src/blind-arithm.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-07-15 01:04:14 +0200
committerMattias Andrée <maandree@kth.se>2017-07-15 01:04:14 +0200
commitf3cde9060c57320c9ed7a9b4bcb494bd411fb1f4 (patch)
tree41a1a50970c7875038e25b6a0a632e23b1ce6001 /src/blind-arithm.c
parentFix blind-{cross,dot,quaternion}-product and blind-vector-projection (diff)
downloadblind-f3cde9060c57320c9ed7a9b4bcb494bd411fb1f4.tar.gz
blind-f3cde9060c57320c9ed7a9b4bcb494bd411fb1f4.tar.bz2
blind-f3cde9060c57320c9ed7a9b4bcb494bd411fb1f4.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/blind-arithm.c')
-rw-r--r--src/blind-arithm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/blind-arithm.c b/src/blind-arithm.c
index d392557..494977b 100644
--- a/src/blind-arithm.c
+++ b/src/blind-arithm.c
@@ -28,11 +28,6 @@ typedef void (*process_func)(struct stream *left, struct stream *right, size_t n
rh = ((TYPE *)(right->buf + i))[CHI],\
(ALGO)), 0) : 0)
-#if defined(__GNUC__) && !defined(__clang__)
-# pragma GCC diagnostic push
-# pragma GCC diagnostic ignored "-Wunsafe-loop-optimizations"
-#endif
-
#define X(NAME, ALGO, PIXFMT, TYPE)\
static void\
process_##PIXFMT##_##NAME(struct stream *left, struct stream *right, size_t n)\
@@ -50,10 +45,6 @@ LIST_OPERATORS(xyza, double)
LIST_OPERATORS(xyzaf, float)
#undef X
-#if defined(__GNUC__) && !defined(__clang__)
-# pragma GCC diagnostic pop
-#endif
-
static process_func
get_process_xyza(const char *operation)
{