From 36ac32ab488eec4581384c5b1c14377e14a85b25 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Fri, 25 May 2012 12:35:23 +0200 Subject: [PATCH] Crypto: remove unneded initialization pointed out by clang static analyzer. --- citadel/modules/crypto/serv_crypto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/modules/crypto/serv_crypto.c b/citadel/modules/crypto/serv_crypto.c index 249d9960a..ea5428219 100644 --- a/citadel/modules/crypto/serv_crypto.c +++ b/citadel/modules/crypto/serv_crypto.c @@ -497,7 +497,7 @@ int client_readline_sslbuffer(StrBuf *Line, StrBuf *IOBuf, const char **Pos, int StrBufAppendBufPlain(Line, pos, StrLength(IOBuf) - (pos - ChrPtr(IOBuf)), 0); FlushStrBuf(IOBuf); - pos = *Pos = NULL; + *Pos = NULL; } else { int n = 0; @@ -510,7 +510,7 @@ int client_readline_sslbuffer(StrBuf *Line, StrBuf *IOBuf, const char **Pos, int if (StrLength(IOBuf) <= (pch - ChrPtr(IOBuf) + 1)) { FlushStrBuf(IOBuf); - pos = *Pos = NULL; + *Pos = NULL; } else *Pos = pch + 1; -- 2.30.2