mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
libobs/util: Remove unnecessary parentheses
The previous commit added parentheses inside the macros so that the parentheses is unnecessary when using the macros.
This commit is contained in:
@@ -452,8 +452,8 @@ static uint64_t copy_map_to_array(profile_times_table *map,
|
||||
{
|
||||
migrate_old_entries(map, false);
|
||||
|
||||
da_reserve((*entry_buffer), map->occupied);
|
||||
da_resize((*entry_buffer), 0);
|
||||
da_reserve(*entry_buffer, map->occupied);
|
||||
da_resize(*entry_buffer, 0);
|
||||
|
||||
uint64_t min__ = ~(uint64_t)0;
|
||||
uint64_t max__ = 0;
|
||||
@@ -465,7 +465,7 @@ static uint64_t copy_map_to_array(profile_times_table *map,
|
||||
|
||||
profiler_time_entry *entry = &map->entries[i].entry;
|
||||
|
||||
da_push_back((*entry_buffer), entry);
|
||||
da_push_back(*entry_buffer, entry);
|
||||
|
||||
calls += entry->count;
|
||||
min__ = (min__ < entry->time_delta) ? min__ : entry->time_delta;
|
||||
|
||||
Reference in New Issue
Block a user