]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: remove unused macro
authoranlan_cs <anlan_cs@126.com>
Fri, 7 Mar 2025 02:05:03 +0000 (10:05 +0800)
committeranlan_cs <anlan_cs@126.com>
Fri, 7 Mar 2025 02:17:18 +0000 (10:17 +0800)
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>
lib/command.h

index dfd732893b7743e945a3fd90624b4964b1d263b8..36ea73811db80229860dc5389eefc11c3f4d9b29 100644 (file)
@@ -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"