changeset 13395:ff4e85e04adf

[gaim-migrate @ 15768] Remove some dead code. Resolves Coverity CID 1 of 113 ;) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 06 Mar 2006 07:53:52 +0000
parents eb0ce960ff60
children bb17a6cb32dc
files src/cipher.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/cipher.c	Mon Mar 06 02:22:15 2006 +0000
+++ b/src/cipher.c	Mon Mar 06 07:53:52 2006 +0000
@@ -1936,10 +1936,7 @@
 		gaim_cipher_context_append(context, (guchar *)client_nonce, strlen(client_nonce));
 		gaim_cipher_context_append(context, (guchar *)":", 1);
 
-		if (qop != NULL)
-			gaim_cipher_context_append(context, (guchar *)qop, strlen(qop));
-		else
-			gaim_cipher_context_append(context, (guchar *)"", 0);
+		gaim_cipher_context_append(context, (guchar *)qop, strlen(qop));
 
 		gaim_cipher_context_append(context, (guchar *)":", 1);
 	}