Skip to content

Commit

Permalink
TEST/GTEST: Workaround armclang 19 segfault - avoid empty initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Nov 27, 2018
1 parent 9894dd6 commit 71c0811
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/gtest/ucs/test_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class stats_test : public ucs::test {
void prepare_nodes(ucs_stats_node_t **cat_node,
ucs_stats_node_t *data_nodes[NUM_DATA_NODES]) {
static ucs_stats_class_t category_stats_class = {
"category", 0, {}
"category", 0
};

ucs_status_t status = UCS_STATS_NODE_ALLOC(cat_node,
Expand Down Expand Up @@ -257,7 +257,7 @@ UCS_TEST_F(stats_on_demand_test, null_root) {
ucs_stats_node_t *cat_node;

static ucs_stats_class_t category_stats_class = {
"category", 0, {}
"category", 0
};
ucs_status_t status = UCS_STATS_NODE_ALLOC(&cat_node, &category_stats_class,
NULL);
Expand Down
2 changes: 1 addition & 1 deletion test/gtest/ucs/test_stats_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class stats_filter_test : public ucs::test {

void prepare_nodes() {
static ucs_stats_class_t category_stats_class = {
"category", 0, {}
"category", 0
};

ucs_status_t status = UCS_STATS_NODE_ALLOC(&cat_node, &category_stats_class,
Expand Down

0 comments on commit 71c0811

Please sign in to comment.