Cleanup: use designated initializers in C

This commit is contained in:
Germano Cavalcante 2022-11-22 09:13:16 -03:00
parent dd5fdb9370
commit ed82bbfc2c
1 changed files with 2 additions and 2 deletions

View File

@ -168,8 +168,8 @@ typedef struct TrackingCopyContext {
static TrackingCopyContext tracking_copy_context_new(void)
{
TrackingCopyContext ctx = {
BLI_ghash_ptr_new(__func__), /* old_to_new_track_map */
BLI_ghash_ptr_new(__func__), /* old_to_new_plane_track_map */
.old_to_new_track_map = BLI_ghash_ptr_new(__func__),
.old_to_new_plane_track_map = BLI_ghash_ptr_new(__func__),
};
return ctx;
}