[xml-security-c] 19/23: Avoid GCC warning suggesting parentheses

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 20:15:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to branch patch-queue/master
in repository xml-security-c.

commit 457bf8b753430093d362059ad7d8e9921546d508
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Sun Jan 31 01:26:38 2016 +0100

    Avoid GCC warning suggesting parentheses
---
 xsec/utils/XSECDOMUtils.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xsec/utils/XSECDOMUtils.cpp b/xsec/utils/XSECDOMUtils.cpp
index 4937434..486a33d 100644
--- a/xsec/utils/XSECDOMUtils.cpp
+++ b/xsec/utils/XSECDOMUtils.cpp
@@ -709,9 +709,9 @@ XMLCh * decodeDName(const XMLCh * toDecode) {
 
 static bool isHexDigit(const XMLCh toCheck)
 {
-    if ((toCheck >= chDigit_0) && (toCheck <= chDigit_9)
-    ||  (toCheck >= chLatin_A) && (toCheck <= chLatin_F)
-    ||  (toCheck >= chLatin_a) && (toCheck <= chLatin_f))
+    if ((toCheck >= chDigit_0 && toCheck <= chDigit_9)
+    ||  (toCheck >= chLatin_A && toCheck <= chLatin_F)
+    ||  (toCheck >= chLatin_a && toCheck <= chLatin_f))
     {
         return true;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git



More information about the Pkg-shibboleth-devel mailing list