pidgin: 939e3c34: This check is duplicated three lines abo...

markdoliner at markdoliner at
Wed Jul 16 05:16:22 EDT 2008

Revision: 939e3c34d8f57c42ac9b90c003aa3f62cf33361d
Ancestor: c7cd6a4c341ff512ad7adad3fe410b621991aed9
Author: markdoliner at
Date: 2008-07-16T09:11:03
Branch: im.pidgin.pidgin

Modified files:


This check is duplicated three lines above.  It was probably intended
to check cipher, but the failure is basically impossible as currently
coded so I'm just going to remove the check.

-------------- next part --------------
--- libpurple/cipher.c	036f4dcc08b7253c49bf2025cd0c75f0ad0c03cc
+++ libpurple/cipher.c	bf64520f28875ff1e958fe7fa311f2a234a58d22
@@ -2402,7 +2402,6 @@ purple_cipher_context_digest(PurpleCiphe
 	g_return_val_if_fail(context, FALSE);
 	cipher = context->cipher;
-	g_return_val_if_fail(context, FALSE);
 	if(cipher->ops && cipher->ops->digest)
 		return cipher->ops->digest(context, in_len, digest, out_len);

More information about the Commits mailing list