From 2775cb77a8fc9e7c5d58bc7c4b73d3f91657fa5d Mon Sep 17 00:00:00 2001 From: anlan_cs Date: Fri, 7 Mar 2025 10:05:03 +0800 Subject: [PATCH] lib: remove unused macro This macro is unused and it leads to the compile error: ``` ./ospfd/ospf_dump.h:78:60: error: pasting "OSPF_DEBUG_" and ""Global Graceful Restart - GR Mode\n"" does not give a valid preprocessing token 78 | #define TERM_DEBUG_ON(a, b) term_debug_ospf_ ## a |= (OSPF_DEBUG_ ## b) ``` Signed-off-by: anlan_cs --- lib/command.h | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/command.h b/lib/command.h index dfd732893b..36ea73811d 100644 --- a/lib/command.h +++ b/lib/command.h @@ -485,7 +485,6 @@ struct cmd_node { /* Graceful Restart cli help strings */ #define GR_CMD "Global Graceful Restart command\n" #define NO_GR_CMD "Undo Global Graceful Restart command\n" -#define GR "Global Graceful Restart - GR Mode\n" #define GR_DISABLE "Global Graceful Restart - Disable Mode\n" #define NO_GR_DISABLE "Undo Global Graceful Restart - Disable Mode\n" #define GR_DEBUG "Graceful Restart - Enable Debug Logs\n"