Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86641 - trunk/tools/quickbook/src
From: dnljms_at_[hidden]
Date: 2013-11-12 04:14:29


Author: danieljames
Date: 2013-11-12 04:14:28 EST (Tue, 12 Nov 2013)
New Revision: 86641
URL: http://svn.boost.org/trac/boost/changeset/86641

Log:
Remove unused `indent_length`.

Text files modified:
   trunk/tools/quickbook/src/actions.cpp | 19 -------------------
   1 files changed, 0 insertions(+), 19 deletions(-)

Modified: trunk/tools/quickbook/src/actions.cpp
==============================================================================
--- trunk/tools/quickbook/src/actions.cpp Tue Nov 12 04:14:07 2013 (r86640)
+++ trunk/tools/quickbook/src/actions.cpp 2013-11-12 04:14:28 EST (Tue, 12 Nov 2013) (r86641)
@@ -506,25 +506,6 @@
         state.conditional = saved_conditional;
     }
 
- namespace {
- int indent_length(std::string const& indent)
- {
- int length = 0;
- for(std::string::const_iterator
- first = indent.begin(), end = indent.end(); first != end; ++first)
- {
- switch(*first) {
- case ' ': ++length; break;
- // hardcoded tab to 4 for now
- case '\t': length = ((length + 4) / 4) * 4; break;
- default: BOOST_ASSERT(false);
- }
- }
-
- return length;
- }
- }
-
     void state::start_list(char mark)
     {
         write_anchors(*this, (in_list ? phrase : out));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk