mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
st/nine: Fix compilation error on non-x86 platforms
The unused variable was improperly declared. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4647 Fixes:d9e79bfe4f("st/nine: Disable fpu exceptions during init") Signed-off-by: Axel Davy <davyaxel0@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10263> (cherry picked from commit5613984fd9)
This commit is contained in:
parent
a51a51b408
commit
269da9f426
2 changed files with 3 additions and 2 deletions
|
|
@ -319,7 +319,7 @@
|
|||
"description": "st/nine: Fix compilation error on non-x86 platforms",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "d9e79bfe4f03eb0412a5535fce2a98c10623f53d"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue