Skip to content

Commit

Permalink
Fix code analysis error
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed Jun 10, 2023
1 parent 2f5e37b commit a52dca8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/api_common/api_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ typedef struct _map_cache
{}

_map_cache(ebpf_handle_t handle, size_t section_offset, EbpfMapDescriptor descriptor, ebpf_pin_type_t pinning)
: handle(handle), section_offset(section_offset), verifier_map_descriptor(descriptor), pinning(pinning)
: handle(handle), id(EBPF_ID_NONE), section_offset(section_offset), verifier_map_descriptor(descriptor),
pinning(pinning), inner_id(EBPF_ID_NONE)
{}

_map_cache(
Expand Down

0 comments on commit a52dca8

Please sign in to comment.