diff --git a/platform-independent/c/core/src/mpw-algorithm.c b/platform-independent/c/core/src/mpw-algorithm.c index 794276ee..a9b2d79f 100644 --- a/platform-independent/c/core/src/mpw-algorithm.c +++ b/platform-independent/c/core/src/mpw-algorithm.c @@ -122,7 +122,6 @@ const char *mpw_site_result( return NULL; } - char *sitePassword = NULL; if (resultType & MPResultTypeClassTemplate) { switch (algorithmVersion) { case MPAlgorithmVersionV0: @@ -172,7 +171,7 @@ const char *mpw_site_result( err( "Unsupported password type: %d", resultType ); } - return sitePassword; + return NULL; } const char *mpw_site_state(