From 57b378ac895c346d74758b54f9e388ed3ca30751 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 7 Aug 2009 16:19:54 -0700 Subject: Avoid warning through fake initialization. --- sysdeps/x86_64/multiarch/strcspn-c.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/x86_64/multiarch/strcspn-c.c b/sysdeps/x86_64/multiarch/strcspn-c.c index 8286d0372b..daeebe1bf5 100644 --- a/sysdeps/x86_64/multiarch/strcspn-c.c +++ b/sysdeps/x86_64/multiarch/strcspn-c.c @@ -86,6 +86,8 @@ STRCSPN_SSE42 (const char *s, const char *a) const char *aligned; __m128i mask; + /* Fake initialization. gcc otherwise will warn. */ + asm ("" : "=xm" (mask)); int offset = (int) ((size_t) a & 15); if (offset != 0) { -- cgit 1.4.1