summaryrefslogtreecommitdiffstats
path: root/tdespell2/plugins/ispell/hash.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:14:04 +0900
commitaa98dbfe80580169f3df12489a77e8b904a1d9b9 (patch)
tree483608a6346be3fa4d8f95d35a05952c81221b91 /tdespell2/plugins/ispell/hash.cpp
parentf29aa92d38e9e1f353ed48f7952150437db8c890 (diff)
downloadtdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.tar.gz
tdelibs-aa98dbfe80580169f3df12489a77e8b904a1d9b9.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdespell2/plugins/ispell/hash.cpp')
-rw-r--r--tdespell2/plugins/ispell/hash.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdespell2/plugins/ispell/hash.cpp b/tdespell2/plugins/ispell/hash.cpp
index 03bd880bb..07693c14f 100644
--- a/tdespell2/plugins/ispell/hash.cpp
+++ b/tdespell2/plugins/ispell/hash.cpp
@@ -180,8 +180,8 @@
*/
int ISpellChecker::hash (ichar_t *s, int hashtblsize)
{
- register long h = 0;
- register int i;
+ long h = 0;
+ int i;
#ifdef ICHAR_IS_CHAR
for (i = 4; i-- && *s != 0; )