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:
Norihiro Kamae
2023-07-01 00:39:13 -07:00
committed by Lain
parent 6425d53ff0
commit 03b679d68e
+3 -3
View File
@@ -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;