mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
C API: remove unused argument
This commit is contained in:
parent
925a8fda6e
commit
061140fc8f
3 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ TEST_F(nix_api_expr_test, nix_build_and_init_list)
|
|||
Value * intValue = nix_alloc_value(nullptr, state);
|
||||
nix_init_int(nullptr, intValue, 42);
|
||||
nix_list_builder_insert(nullptr, builder, 0, intValue);
|
||||
nix_make_list(nullptr, state, builder, value);
|
||||
nix_make_list(nullptr, builder, value);
|
||||
nix_list_builder_free(builder);
|
||||
|
||||
ASSERT_EQ(42, nix_get_int(nullptr, nix_get_list_byidx(nullptr, value, state, 0)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue