summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authoranlan_cs <anlan_cs@126.com>2025-03-07 10:05:03 +0800
committeranlan_cs <anlan_cs@126.com>2025-03-07 10:17:18 +0800
commit2775cb77a8fc9e7c5d58bc7c4b73d3f91657fa5d (patch)
tree442082a2a0d7fc796caea1397fb623b4080cef06 /lib/command.h
parent3af15029db389a58d2f0dc5cb1be53ec379248e6 (diff)
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 <anlan_cs@126.com>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h1
1 files changed, 0 insertions, 1 deletions
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"