Skip to content

Commit cf04a2c

Browse files
committed
Cleanups - remove/silence warnings
1 parent 1b161fa commit cf04a2c

4 files changed

Lines changed: 5 additions & 21 deletions

File tree

cores/libretro-net-retropad/net_retropad_core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ static void retropad_update_input(void)
581581
}
582582
}
583583

584-
static void open_UDP_socket()
584+
static void netretropad_open_udp_socket(void)
585585
{
586586
socket_target_t in_target;
587587

@@ -702,7 +702,7 @@ void NETRETROPAD_CORE_PREFIX(retro_set_video_refresh)(retro_video_refresh_t cb)
702702
void NETRETROPAD_CORE_PREFIX(retro_reset)(void)
703703
{
704704
netretropad_check_variables();
705-
open_UDP_socket();
705+
netretropad_open_udp_socket();
706706
}
707707

708708
void NETRETROPAD_CORE_PREFIX(retro_run)(void)
@@ -985,7 +985,7 @@ void NETRETROPAD_CORE_PREFIX(retro_run)(void)
985985
bool NETRETROPAD_CORE_PREFIX(retro_load_game)(const struct retro_game_info *info)
986986
{
987987
netretropad_check_variables();
988-
open_UDP_socket();
988+
netretropad_open_udp_socket();
989989

990990
/* If a .ratst file is given (only possible via command line),
991991
* initialize test sequence. */

deps/glslang/glslang/glslang/Include/PoolAlloc.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,6 @@
6363

6464
namespace glslang {
6565

66-
// If we are using guard blocks, we must track each individual
67-
// allocation. If we aren't using guard blocks, these
68-
// never get instantiated, so won't have any impact.
69-
//
70-
71-
class TAllocation {
72-
public:
73-
TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) :
74-
size(size), mem(mem), prevAlloc(prev) { }
75-
76-
private:
77-
size_t size; // size of the user data area
78-
unsigned char* mem; // beginning of our allocation (pts to header)
79-
TAllocation* prevAlloc; // prior allocation in the chain
80-
};
81-
8266
//
8367
// There are several stacks. One is to track the pushing and popping
8468
// of the user, and not yet implemented. The others are simply a

deps/mbedtls/bignum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ __attribute__ ((noinline))
11011101
#endif
11021102
void mpi_mul_hlp( size_t i, mbedtls_mpi_uint *s, mbedtls_mpi_uint *d, mbedtls_mpi_uint b )
11031103
{
1104-
mbedtls_mpi_uint c = 0, t = 0;
1104+
mbedtls_mpi_uint c = 0;
11051105

11061106
#if defined(MULADDC_HUIT)
11071107
for( ; i >= 8; i -= 8 )

menu/drivers/ozone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8108,7 +8108,7 @@ static enum menu_action ozone_parse_menu_entry_action(
81088108

81098109
if ( !menu_navigation_wraparound_enable
81108110
&& selection == ozone->system_tab_end + horizontal_list_size)
8111-
new_selection = selection;
8111+
new_selection = (int)selection;
81128112

81138113
if (new_selection != (int)selection)
81148114
{

0 commit comments

Comments
 (0)