Skip to content

Commit 4627f85

Browse files
committed
Fixed "statement is unreachable" warning on IAR (issue bblanchon#1233)
1 parent fc9e609 commit 4627f85

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ HEAD
55
----
66

77
* Fixed "maybe-uninitialized" warning (issue #1217)
8+
* Fixed "statement is unreachable" warning on IAR (issue #1233)
89

910
v6.15.0 (2020-03-22)
1011
-------

src/ArduinoJson/Variant/SlotFunctions.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ inline bool slotSetKey(VariantSlot* var, TAdaptedString key, MemoryPool* pool,
2424
} else {
2525
return slotSetKey(var, key, pool, storage_policy::store_by_copy());
2626
}
27-
return true;
2827
}
2928

3029
template <typename TAdaptedString>

0 commit comments

Comments
 (0)