Merge pull request from heuripedes/master

(menu_displaylist.c) Fix uninitialized value usage
This commit is contained in:
Twinaphex 2015-12-13 02:53:24 +01:00
commit 36e3ef3f6c

View File

@ -3063,7 +3063,7 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
case DISPLAYLIST_CORE_OPTIONS:
if (runloop_ctl(RUNLOOP_CTL_HAS_CORE_OPTIONS, NULL))
{
size_t opts;
size_t opts = 0;
runloop_ctl(RUNLOOP_CTL_GET_CORE_OPTION_SIZE, &opts);