summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-29 09:28:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-29 09:28:34 +0100
commitfb8168bb555147927c69eaa243bb7d8a3d99c34d (patch)
tree0c0c80e7d541a92c56693c09293ec4fccdb0d4b7 /cosv
parent74ddfb058c33f980784d3e4c65cf901d1d1702a5 (diff)
ditch unused compare
Diffstat (limited to 'cosv')
-rw-r--r--cosv/source/strings/string.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/cosv/source/strings/string.cxx b/cosv/source/strings/string.cxx
index dbc804d3e44f..1ffecaacab14 100644
--- a/cosv/source/strings/string.cxx
+++ b/cosv/source/strings/string.cxx
@@ -234,25 +234,6 @@ compare( const CharOrder_Table & i_rOrder,
return int( i_rOrder(*it1) - i_rOrder(*it2) );
}
-int
-compare( const CharOrder_Table & i_rOrder,
- const char * i_s1,
- const char * i_s2,
- csv::str::size i_nLength )
-{
- const char * sEnd = i_s1 + i_nLength;
-
- const char * it1 = i_s1;
- const char * it2 = i_s2;
- for ( ; i_rOrder(*it1) == i_rOrder(*it2) AND *it1 != '\0' AND it1 != sEnd; ++it1, ++it2 )
- {}
-
- if ( it1 != sEnd )
- return int( i_rOrder(*it1) - i_rOrder(*it2) );
- else
- return 0;
-}
-
} // namespace csv
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */