chore(cpn): Fix Ubuntu compiler warnings (#4257)

This commit is contained in:
Neil Horne
2023-10-28 20:02:38 +10:00
committed by GitHub
parent 2692b38ef1
commit e8d555da11
2 changed files with 0 additions and 4 deletions
@@ -24,7 +24,6 @@
std::string YamlRawSwitchEncode(const RawSwitch& rhs)
{
std::string sw_str;
char c = 'A';
int32_t sval = rhs.index;
if (rhs.index < 0) {
sval = -sval;