mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Remove unused variables (#14065)
This commit is contained in:
parent
60161982b2
commit
0008691aa0
4
deps/glslang/glslang/SPIRV/GlslangToSpv.cpp
vendored
4
deps/glslang/glslang/SPIRV/GlslangToSpv.cpp
vendored
@ -5364,8 +5364,10 @@ spv::Id TGlslangToSpvTraverser::createAtomicOperation(glslang::TOperator op, spv
|
|||||||
// Create group invocation operations.
|
// Create group invocation operations.
|
||||||
spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy)
|
spv::Id TGlslangToSpvTraverser::createInvocationsOperation(glslang::TOperator op, spv::Id typeId, std::vector<spv::Id>& operands, glslang::TBasicType typeProxy)
|
||||||
{
|
{
|
||||||
|
#ifdef AMD_EXTENSIONS
|
||||||
bool isUnsigned = isTypeUnsignedInt(typeProxy);
|
bool isUnsigned = isTypeUnsignedInt(typeProxy);
|
||||||
bool isFloat = isTypeFloat(typeProxy);
|
bool isFloat = isTypeFloat(typeProxy);
|
||||||
|
#endif
|
||||||
|
|
||||||
spv::Op opCode = spv::OpNop;
|
spv::Op opCode = spv::OpNop;
|
||||||
std::vector<spv::Id> spvGroupOperands;
|
std::vector<spv::Id> spvGroupOperands;
|
||||||
|
@ -721,7 +721,6 @@ bool config_file_deinitialize(config_file_t *conf)
|
|||||||
{
|
{
|
||||||
struct config_include_list *inc_tmp = NULL;
|
struct config_include_list *inc_tmp = NULL;
|
||||||
struct config_entry_list *tmp = NULL;
|
struct config_entry_list *tmp = NULL;
|
||||||
struct path_linked_list *ref_tmp = NULL;
|
|
||||||
|
|
||||||
if (!conf)
|
if (!conf)
|
||||||
return false;
|
return false;
|
||||||
|
@ -7073,7 +7073,6 @@ static int xmb_list_push(void *data, void *userdata,
|
|||||||
bool menu_show_restart_ra = settings->bools.menu_show_restart_retroarch;
|
bool menu_show_restart_ra = settings->bools.menu_show_restart_retroarch;
|
||||||
#endif
|
#endif
|
||||||
bool menu_show_information = settings->bools.menu_show_information;
|
bool menu_show_information = settings->bools.menu_show_information;
|
||||||
bool menu_show_help = settings->bools.menu_show_help;
|
|
||||||
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
||||||
#ifdef HAVE_QT
|
#ifdef HAVE_QT
|
||||||
bool desktop_menu_enable = settings->bools.desktop_menu_enable;
|
bool desktop_menu_enable = settings->bools.desktop_menu_enable;
|
||||||
|
@ -8269,7 +8269,9 @@ unsigned menu_displaylist_build_list(
|
|||||||
case DISPLAYLIST_USER_INTERFACE_SETTINGS_LIST:
|
case DISPLAYLIST_USER_INTERFACE_SETTINGS_LIST:
|
||||||
{
|
{
|
||||||
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
||||||
|
#if defined(HAVE_QT) || defined(HAVE_COCOA)
|
||||||
bool desktop_menu_enable = settings->bools.desktop_menu_enable;
|
bool desktop_menu_enable = settings->bools.desktop_menu_enable;
|
||||||
|
#endif
|
||||||
bool menu_screensaver_supported = menu_driver_screensaver_supported();
|
bool menu_screensaver_supported = menu_driver_screensaver_supported();
|
||||||
#if defined(HAVE_MATERIALUI) || defined(HAVE_XMB) || defined(HAVE_OZONE)
|
#if defined(HAVE_MATERIALUI) || defined(HAVE_XMB) || defined(HAVE_OZONE)
|
||||||
enum menu_screensaver_effect menu_screensaver_animation =
|
enum menu_screensaver_effect menu_screensaver_animation =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user