summaryrefslogtreecommitdiff
path: root/src/lookup.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-25 03:08:23 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-25 03:09:56 -0500
commit548af968f6a45e42937dd35f70fc601dee8bb38c (patch)
tree684df976af3dedaa8ef2f15fad7513387fa30fa8 /src/lookup.cc
parentdee54c7c1f763efa675f2ab19a9c990d99b9c9ac (diff)
downloadfork-ledger-548af968f6a45e42937dd35f70fc601dee8bb38c.tar.gz
fork-ledger-548af968f6a45e42937dd35f70fc601dee8bb38c.tar.bz2
fork-ledger-548af968f6a45e42937dd35f70fc601dee8bb38c.zip
#if 0'd out some unused code
Diffstat (limited to 'src/lookup.cc')
-rw-r--r--src/lookup.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lookup.cc b/src/lookup.cc
index ce22529d..6f0c33ea 100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -186,12 +186,14 @@ lookup_probable_account(const string& ident,
if (in_order_match && pos - index < 3)
addend++;
+#if 0
#if !defined(HAVE_BOOST_REGEX_UNICODE)
if (pos == 0 || (pos > 0 && !std::isalnum(value_key[pos - 1])))
addend++;
#else
// jww (2010-03-07): Not yet implemented
#endif
+#endif
last_match_pos = pos;
}