🐞 fix(warning as error): fix unused parameter warning

This commit is contained in:
yangwei
2024-08-07 13:34:56 +08:00
committed by luwenpeng
parent f1b3928c70
commit 6bb5c44ee3
12 changed files with 36 additions and 14 deletions

View File

@@ -10,6 +10,9 @@
#include "stellar/session.h"
#include "stellar/stellar_mq.h"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#define LOG_ERR(fmt, ...) printf("ERROR [packet inject] " fmt, ##__VA_ARGS__)
#define LOG_INFO(fmt, ...) printf("INFO [packet inject] " fmt, ##__VA_ARGS__)