summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2017-07-17 16:50:05 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2017-07-17 16:50:05 +0900
commit5acc1eb52388e8865d16c0752a0bc6c4c01da8e7 (patch)
tree3e149911f17bcabb7a4bf6b468b26138783b0ff2
parentb40205e45987ba40aada380fa2b663bc4f039e95 (diff)
downloadise-engine-anthy-5acc1eb52388e8865d16c0752a0bc6c4c01da8e7.tar.gz
ise-engine-anthy-5acc1eb52388e8865d16c0752a0bc6c4c01da8e7.tar.bz2
ise-engine-anthy-5acc1eb52388e8865d16c0752a0bc6c4c01da8e7.zip
Expression 'epos >= 0' is always true. Unsigned type value is always >= 0. scim_anthy_style_file.cpp:103 Change-Id: Ia32436a39f93d667d029a43172d0b19421c5c8af
-rwxr-xr-xsrc/scim_anthy_style_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scim_anthy_style_file.cpp b/src/scim_anthy_style_file.cpp
index 413383e..1e8d9a7 100755
--- a/src/scim_anthy_style_file.cpp
+++ b/src/scim_anthy_style_file.cpp
@@ -100,7 +100,7 @@ StyleLine::get_type (void)
spos++);
if (m_line.length() > 0) {
for (epos = m_line.length () - 1;
- epos >= 0 && isspace (m_line[epos]);
+ isspace (m_line[epos]);
epos--);
} else {
epos = 0;