Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit d10316e

Browse files
committed
Address -Wunused-const-variable warnings.
1 parent f8d6d36 commit d10316e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/warm/WarmCore.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ static const uint8_t kLegacy6LoWPANULAAddressPrefixLength = 64;
132132

133133
static const uint8_t kTunnelAddressPrefixLength = 128;
134134

135+
#if !WARM_CONFIG_ENABLE_FABRIC_DEFAULT_ROUTING
135136
static const uint8_t kServiceULAAddressPrefixLength = 64;
137+
#endif // !WARM_CONFIG_ENABLE_FABRIC_DEFAULT_ROUTING
136138

137139
#endif // WARM_CONFIG_SUPPORT_WEAVE_TUNNEL
138140

0 commit comments

Comments
 (0)