(frontend.c) cleanups

This commit is contained in:
twinaphex 2014-09-28 17:35:58 +02:00
parent a01d349227
commit 3bfa247770

View File

@ -160,22 +160,19 @@ bool main_load_content(int argc, char **argv, args_type() args,
environment_get_t environ_get,
process_args_t process_args)
{
int *rarch_argc_ptr;
char **rarch_argv_ptr;
struct rarch_main_wrap *wrap_args;
bool retval = true;
int i, ret = 0, rarch_argc = 0;
char *rarch_argv[MAX_ARGS] = {NULL};
char *argv_copy [MAX_ARGS] = {NULL};
rarch_argv_ptr = (char**)argv;
rarch_argc_ptr = (int*)&argc;
char **rarch_argv_ptr = (char**)argv;
int *rarch_argc_ptr = (int*)&argc;
struct rarch_main_wrap *wrap_args = (struct rarch_main_wrap*)
calloc(1, sizeof(*wrap_args));
(void)rarch_argc_ptr;
(void)rarch_argv_ptr;
(void)ret;
wrap_args = (struct rarch_main_wrap*)calloc(1, sizeof(*wrap_args));
rarch_assert(wrap_args);
if (environ_get)