cleanup: fix workflow and build errors

Signed-off-by: rohith-raju <rohithraju488@gmail.com>
This commit is contained in:
rohith-raju 2023-06-28 14:15:19 +00:00 committed by poiana
parent e8ee850dee
commit c73e43c973

View File

@ -771,7 +771,7 @@ void falco_engine::get_json_evt_types(libsinsp::filter::ast::expr* ast,
auto evtcodes = libsinsp::filter::ast::ppm_event_codes(ast);
libsinsp::events::set<ppm_sc_code> syscodes;
#ifdef __linux__
auto syscodes = libsinsp::filter::ast::ppm_sc_codes(ast);
syscodes = libsinsp::filter::ast::ppm_sc_codes(ast);
#endif
auto syscodes_to_evt_names = libsinsp::events::sc_set_to_event_names(syscodes);
auto evtcodes_to_evt_names = libsinsp::events::event_set_to_names(evtcodes, false);