From e67e96fa34027627d3c404f5cde383818ec177f6 Mon Sep 17 00:00:00 2001 From: "wtc%google.com" Date: Thu, 1 Mar 2012 01:58:22 +0000 Subject: [PATCH] Bug 728919: Fix clang warning about equality comparison with extraneous parentheses. The patch is contributed by Nico Weber . r=wtc. git-svn-id: svn://10.0.0.236/trunk@263505 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/ssl/sslcon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/security/nss/lib/ssl/sslcon.c b/mozilla/security/nss/lib/ssl/sslcon.c index ee388ebb3a8..5a2840c32f8 100644 --- a/mozilla/security/nss/lib/ssl/sslcon.c +++ b/mozilla/security/nss/lib/ssl/sslcon.c @@ -37,7 +37,7 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ -/* $Id: sslcon.c,v 1.45 2011-11-19 21:58:21 bsmith%mozilla.com Exp $ */ +/* $Id: sslcon.c,v 1.46 2012-03-01 01:58:22 wtc%google.com Exp $ */ #include "nssrenam.h" #include "cert.h" @@ -1435,7 +1435,7 @@ ssl2_CreateSessionCypher(sslSocket *ss, sslSessionID *sid, PRBool isClient) writeKey.data = 0; PORT_Assert( ss->opt.noLocks || ssl_Have1stHandshakeLock(ss) ); - if((ss->sec.ci.sid == 0)) + if (ss->sec.ci.sid == 0) goto sec_loser; /* don't crash if asserts are off */ /* Trying to cut down on all these switch statements that should be tables.