refactor(userspace/falco): comment out unused variable names

Signed-off-by: Samuel Gaist <samuel.gaist@idiap.ch>
This commit is contained in:
Samuel Gaist
2025-07-16 18:19:15 +02:00
committed by poiana
parent 179234e08e
commit e8c527f204
2 changed files with 1 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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;
}