mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Solve more Clang static analysis warnings
This commit is contained in:
parent
e82882a1ab
commit
f071e8b440
2 changed files with 5 additions and 1 deletions
|
@ -1012,6 +1012,7 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
|||
video.rgb32 = video_driver_state_filter ?
|
||||
video_driver_state_out_rgb32 :
|
||||
(video_driver_pix_fmt == RETRO_PIXEL_FORMAT_XRGB8888);
|
||||
video.parent = 0;
|
||||
|
||||
/* Reset video frame count */
|
||||
video_driver_frame_count = 0;
|
||||
|
|
|
@ -202,12 +202,15 @@ static int deferred_push_cursor_manager_list_deferred(
|
|||
|
||||
if (!string_is_empty(info->path_b))
|
||||
free(info->path_b);
|
||||
|
||||
if (!string_is_empty(info->path_c))
|
||||
free(info->path_c);
|
||||
|
||||
info->path_b = strdup(info->path);
|
||||
|
||||
if (!string_is_empty(info->path))
|
||||
free(info->path);
|
||||
|
||||
info->path_b = strdup(info->path);
|
||||
info->path_c = strdup(query);
|
||||
info->path = strdup(rdb_path);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue