Skip to content

Commit

Permalink
Fix -Wmissing-braces
Browse files Browse the repository at this point in the history
Change-Id: I01bd5c5758e53087897746fb960faaa60f4c8c8e
  • Loading branch information
arsenm committed Jun 20, 2023
1 parent 7cb780c commit 2c51549
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/comgr/test/lookup_code_object_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ void sharedObjectTest(amd_comgr_data_kind_t Kind) {
Status = amd_comgr_set_data(DataObject, Size, Buf);
checkError(Status, "amd_comgr_set_data");

amd_comgr_code_object_info_t QueryList1[1] = {"amdgcn-amd-amdhsa--gfx700", 0,
0};
amd_comgr_code_object_info_t QueryList1[1] = {
{"amdgcn-amd-amdhsa--gfx700", 0, 0}};

amd_comgr_code_object_info_t QueryList2[1] = {"amdgcn-amd-amdhsa--gfx803", 0,
0};
amd_comgr_code_object_info_t QueryList2[1] = {
{"amdgcn-amd-amdhsa--gfx803", 0, 0}};

Status = amd_comgr_lookup_code_object(DataObject, QueryList1, 1);
checkError(Status, "amd_comgr_lookup_code_object");
Expand Down

0 comments on commit 2c51549

Please sign in to comment.