Skip to content

Commit

Permalink
ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Sep 30, 2024
1 parent bf5b07e commit 85d6214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/unix/c11/z_pub_attachment.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ int main(int argc, char **argv) {
z_publisher_put_options_t options;
z_publisher_put_options_default(&options);

#if defined(Z_FEATURE_UNSTABLE_API)
// Allocate attachment
kv_pair_t kvs[2];
kvs[0] = (kv_pair_t){.key = "source", .value = "C"};
#endif
z_owned_bytes_t attachment;
z_bytes_empty(&attachment);

Expand Down

0 comments on commit 85d6214

Please sign in to comment.