blob: f0161666c9f17ee89f57b9b414b2a9d90e5c4d63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/sphinxsort.cpp.orig 2018-02-03 10:36:00 UTC
+++ src/sphinxsort.cpp
@@ -3395,15 +3395,15 @@ struct MatchExpr_fn : public ISphMatchComparator
case SPH_KEYPART_WEIGHT: SPH_TEST_PAIR ( a.m_iWeight, b.m_iWeight, _idx ); break; \
case SPH_KEYPART_INT: \
{ \
- register SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \
- register SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \
+ SphAttr_t aa = a.GetAttr ( t.m_tLocator[_idx] ); \
+ SphAttr_t bb = b.GetAttr ( t.m_tLocator[_idx] ); \
SPH_TEST_PAIR ( aa, bb, _idx ); \
break; \
} \
case SPH_KEYPART_FLOAT: \
{ \
- register float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \
- register float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \
+ float aa = a.GetAttrFloat ( t.m_tLocator[_idx] ); \
+ float bb = b.GetAttrFloat ( t.m_tLocator[_idx] ); \
SPH_TEST_PAIR ( aa, bb, _idx ) \
break; \
} \
|