Skip to content

Commit a066c26

Browse files
committed
Initialize the new function pointer in tests
1 parent 195cb19 commit a066c26

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/c-api/buildsystem/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ fancy_tool_create_command(void *context, const llb_data_t* name) {
100100
delegate.execute_command_detached = NULL;
101101
delegate.cancel_detached_command = NULL;
102102
delegate.is_result_valid = NULL;
103+
delegate.is_result_valid_with_fallback = NULL;
103104
return llb_buildsystem_external_command_create(name, delegate);
104105
}
105106

unittests/CAPI/BuildSystem-C-API.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ depinfo_tester_tool_create_command(void *context, const llb_data_t* name) {
151151
delegate.execute_command_detached = NULL;
152152
delegate.cancel_detached_command = NULL;
153153
delegate.is_result_valid = NULL;
154+
delegate.is_result_valid_with_fallback = NULL;
154155
return llb_buildsystem_external_command_create(name, delegate);
155156
}
156157

0 commit comments

Comments
 (0)