From: Darren Tucker Date: Tue, 13 Feb 2018 05:27:09 +0000 (+1100) Subject: Remove assigned-to-but-never-used variable. X-Git-Tag: V_7_7_P1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49f3c0ec47730ea264e2bd1e6ece11167d6384df;p=thirdparty%2Fopenssh-portable.git Remove assigned-to-but-never-used variable. 'p' was removed in previous change but I neglected to remove the otherwise-unused assignment to it. --- diff --git a/md5crypt.c b/md5crypt.c index 5625fd3cf..52cf2959a 100644 --- a/md5crypt.c +++ b/md5crypt.c @@ -139,8 +139,6 @@ md5_crypt(const char *pw, const char *salt) MD5_Final(final, &ctx1); } - p = passwd + strlen(passwd); - l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; strlcat(passwd, to64(l, 4), sizeof(passwd)); l = (final[ 1]<<16) | (final[ 7]<<8) | final[13];