(Vita) Fix some warnings about possibly uninitialized variables

This commit is contained in:
twinaphex 2015-09-20 22:44:03 +02:00
parent 27f9e258fc
commit f75cdd1e97

View File

@ -180,7 +180,7 @@ static int cb_image_menu_boxart_upload(void *data, size_t len)
static int cb_image_menu_generic(nbio_handle_t *nbio) static int cb_image_menu_generic(nbio_handle_t *nbio)
{ {
unsigned width, height; unsigned width = 0, height = 0;
int retval; int retval;
if (!nbio) if (!nbio)
return -1; return -1;
@ -276,7 +276,7 @@ error:
static int rarch_main_data_image_iterate_process_transfer(nbio_handle_t *nbio) static int rarch_main_data_image_iterate_process_transfer(nbio_handle_t *nbio)
{ {
unsigned i, width, height; unsigned i, width = 0, height = 0;
int retval = 0; int retval = 0;
if (!nbio) if (!nbio)