Commit 5613984f authored by Axel Davy's avatar Axel Davy Committed by Marge Bot
Browse files

st/nine: Fix compilation error on non-x86 platforms

The unused variable was improperly declared.

Closes: #4647
Fixes: d9e79bfe

 ("st/nine: Disable fpu exceptions during init")
Signed-off-by: Axel Davy's avatarAxel Davy <davyaxel0@gmail.com>
Reviewed-by: Timur Kristóf's avatarTimur Kristóf <timur.kristof@gmail.com>
Part-of: <!10263>
parent db538bde
Pipeline #302942 waiting for manual action with stages
......@@ -45,6 +45,7 @@
#include "pipe/p_screen.h"
#include "pipe/p_context.h"
#include "pipe/p_config.h"
#include "util/macros.h"
#include "util/u_math.h"
#include "util/u_inlines.h"
#include "util/u_hash_table.h"
......@@ -95,7 +96,7 @@ static void nine_setup_fpu(void)
WARN_ONCE("FPU setup not supported on non-x86 platforms\n");
}
static void nine_setup_set_fpu(uint16_t)
static void nine_setup_set_fpu(UNUSED uint16_t val)
{
WARN_ONCE("FPU setup not supported on non-x86 platforms\n");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment