mirror of
https://github.com/falcosecurity/falco.git
synced 2026-02-21 14:13:27 +00:00
refactor(userspace/falco): comment out unused variable names
Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
@@ -27,8 +27,6 @@ using namespace falco::app;
|
||||
using namespace falco::app::actions;
|
||||
|
||||
falco::app::run_result falco::app::actions::load_rules_files(falco::app::state& s) {
|
||||
std::string all_rules;
|
||||
|
||||
if(!s.options.rules_filenames.empty()) {
|
||||
s.config->m_rules_filenames = s.options.rules_filenames;
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ limitations under the License.
|
||||
|
||||
#define CHECK_RES(fn) res = res == CURLE_OK ? fn : res
|
||||
|
||||
static size_t noop_write_callback(void *contents, size_t size, size_t nmemb, void *userp) {
|
||||
static size_t noop_write_callback(void */*contents*/, size_t size, size_t nmemb, void */*userp*/) {
|
||||
// We don't want to echo anything. Just return size of bytes ignored
|
||||
return size * nmemb;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user