Skip to content

Commit 73e5ed8

Browse files
aprasad-97pradeeptakdas
authored andcommitted
RDKBDEV-3274: Fix compilation error from CosaDmlUserResetPassword() in ccsp-p-and-m
Reason for change: While building RDKB 25Q2 kirkstone, we observed that ccsp-p-and-m fails with compilation error in CosaDmlUserResetPassword(). Risks: Low Signed-off-by: Aiswarya Prasad <[email protected]>
1 parent b51f7fd commit 73e5ed8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source-arm/TR-181/board_sbapi/cosa_users_apis.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,9 @@ CosaDmlUserResetPassword
726726
UNREFERENCED_PARAMETER(bValue);
727727
CcspTraceWarning(("%s, Entered Reset function\n",__FUNCTION__));
728728
char defPassword[10];
729+
#if defined(_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_) || defined(LIBRDKCONFIG_BUILD) || (defined(_COSA_FOR_BCI_) && defined(LIBRDKCONFIG_BUILD))
729730
errno_t safec_rc = -1;
731+
#endif
730732
if(!strcmp(pEntry->Username,"admin"))
731733
{
732734
#if defined(_HUB4_PRODUCT_REQ_) || defined(_PLATFORM_RASPBERRYPI_) || defined(_PLATFORM_TURRIS_) || defined(_PLATFORM_BANANAPI_R4_)

0 commit comments

Comments
 (0)