diff options
author | David Tardon <dtardon@redhat.com> | 2012-07-03 10:45:22 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-07-03 17:47:19 +0200 |
commit | 2d58399e50395ed2b045f45986554c9914a696a9 (patch) | |
tree | 51695622909e5b4753362b6cfddab27b5ad457a9 | |
parent | 0fa47c8614dd4e76a91e78cf35aed44396e893ed (diff) |
coverity: idx == 0x1F cannot be true
Change-Id: I6b0cf900003beb9931d6acad229166e44cc7f0bc
-rw-r--r-- | hwpfilter/source/hcode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx index cc7579796419..a9e9eba384da 100644 --- a/hwpfilter/source/hcode.cxx +++ b/hwpfilter/source/hcode.cxx @@ -426,7 +426,7 @@ static hchar s_hh2ks(hchar hh) } return (idx << 8) | (i + 160); } - if ((idx == 0x1F && (hh & 0xff) >= 0xC0) || (hh == 0x1F00)) + if (((hh & 0xff) >= 0xC0) || (hh == 0x1F00)) return 0; if (idx < 0x34 || idx >= 0x38) return 0x2020; |