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

Commit 52ea55b

Browse files
committed
Address -Wunused-labelwarnings.
1 parent f12d18f commit 52ea55b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/test-apps/MockSinkTraits.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
*
3+
* Copyright (c) 2018 Google LLC.
34
* Copyright (c) 2016-2017 Nest Labs, Inc.
45
* All rights reserved.
56
*
@@ -520,7 +521,9 @@ TestATraitDataSink::SetData(PropertyPathHandle aHandle, TLVReader &aReader, bool
520521
}
521522
}
522523

524+
#if TDM_DISABLE_STRICT_SCHEMA_COMPLIANCE == 0
523525
exit:
526+
#endif
524527
return err;
525528
}
526529

@@ -2121,7 +2124,10 @@ TestATraitUpdatableDataSink::SetData(PropertyPathHandle aHandle, TLVReader &aRea
21212124
aHandle = mSchemaEngine->GetParent(aHandle);
21222125
}
21232126
}
2124-
exit:
2127+
2128+
#if TDM_DISABLE_STRICT_SCHEMA_COMPLIANCE == 0
2129+
exit:
2130+
#endif
21252131
return err;
21262132
}
21272133

0 commit comments

Comments
 (0)