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

Commit efbed8f

Browse files
authored
Merge pull request #589 from openweave/bug/fix_unused_variables
Removed unused variables/functions
2 parents cf6e4cb + 31b9285 commit efbed8f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/device-manager/cocoa/NLWdmClientFlushUpdateDeviceStatusError.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@
3939
statusReport:(NSString *)statusReport
4040
path:(NSString *)path
4141
dataSink:(NLGenericTraitUpdatableDataSink *)dataSink;
42-
- (NSInteger)translateErrorCode;
4342

4443
@end

src/lib/profiles/data-management/Current/TraitData.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ WEAVE_ERROR TraitSchemaEngine::MapHandleToPath(PropertyPathHandle aHandle, std::
248248
// Use the tree depth specified by the schema to correctly size our path walk store
249249
PropertyPathHandle pathWalkStore[mSchema.mTreeDepth];
250250
uint32_t pathWalkDepth = 0;
251-
WEAVE_ERROR err = WEAVE_NO_ERROR;
252251
PropertyPathHandle curProperty = aHandle;
253252

254253
// Walk up the path till root and keep track of the handles encountered along the way.
@@ -272,7 +271,6 @@ WEAVE_ERROR TraitSchemaEngine::MapHandleToPath(PropertyPathHandle aHandle, std::
272271
pathWalkDepth--;
273272
}
274273

275-
exit:
276274
return WEAVE_NO_ERROR;
277275
}
278276
#endif // WEAVE_CONFIG_DATA_MANAGEMENT_CLIENT_EXPERIMENTAL

0 commit comments

Comments
 (0)