diff --git a/cheevos/cheevos.c b/cheevos/cheevos.c index 595c145a5b..87b866b698 100644 --- a/cheevos/cheevos.c +++ b/cheevos/cheevos.c @@ -470,7 +470,7 @@ static void rcheevos_lboard_canceled(rcheevos_ralboard_t * lboard, if (rcheevos_locals.leaderboard_notifications) { - size_t _len = strlcpy(buffer, "Leaderboard attempt failed: ", + strlcpy(buffer, "Leaderboard attempt failed: ", sizeof(buffer)); strlcat(buffer, lboard->title, sizeof(buffer)); runloop_msg_queue_push(buffer, 0, 2 * 60, false, NULL, diff --git a/core_info.c b/core_info.c index 58d329e55b..5c66450ad2 100644 --- a/core_info.c +++ b/core_info.c @@ -1895,7 +1895,7 @@ static void core_info_list_resolve_all_extensions( if (!core_info_list->list[i].supported_extensions) continue; - _len = strlcat(core_info_list->all_ext, + strlcat(core_info_list->all_ext, core_info_list->list[i].supported_extensions, all_ext_len); _len = strlcat(core_info_list->all_ext, "|", all_ext_len); }