Merge pull request #6106 from ilya-lavrenov:compilation-warning

This commit is contained in:
Alexander Alekhin 2016-02-15 15:12:48 +00:00
commit 8a09d95eab

View File

@ -317,6 +317,7 @@ enum {
#define ARM_ROUND(_value, _asm_string) \ #define ARM_ROUND(_value, _asm_string) \
int res; \ int res; \
float temp; \ float temp; \
(void)temp; \
asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \ asm(_asm_string : [res] "=r" (res), [temp] "=w" (temp) : [value] "w" (_value)); \
return res; return res;
// 2. version for double // 2. version for double