aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-04-08 08:12:54 +1000
committerNeil <nyamatongwe@gmail.com>2025-04-08 08:12:54 +1000
commit27d038b11a853785fd773756bdb02ae1a1bfae84 (patch)
treea42d76d489f8b40df61f22237b8b03fb23b2ff5e /src/CallTip.cxx
parentaa09b247fbe224f7c0f51c79f94a0d9a3bacfc0b (diff)
downloadscintilla-mirror-27d038b11a853785fd773756bdb02ae1a1bfae84.tar.gz
Silence warning.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index d35bec4ec..2be23e898 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -95,9 +95,8 @@ int CallTip::NextTabPos(int x) const noexcept {
x -= insetX; // position relative to text
x = (x + tabSize) / tabSize; // tab "number"
return tabSize*x + insetX; // position of next tab
- } else {
- return x + 1; // arbitrary
}
+ return x + 1; // arbitrary
}
namespace {