about summary refs log tree commit diff
path: root/src/boost/format
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-14T12·42+0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-14T12·42+0200
commitf8a2e8a55203f2cc16d70ad43afcc186adaab6b3 (patch)
tree140135f2478edeb4d974112cfbe5023a50a32cfd /src/boost/format
parentdd3714f6eff44e0777c5e8afcc7a29e283986629 (diff)
Shut up some warnings
Diffstat (limited to 'src/boost/format')
-rw-r--r--src/boost/format/feed_args.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/boost/format/feed_args.hpp b/src/boost/format/feed_args.hpp
index 3d0b47b4a12e..cdd57fdf2bf1 100644
--- a/src/boost/format/feed_args.hpp
+++ b/src/boost/format/feed_args.hpp
@@ -41,6 +41,13 @@ namespace  {
                 std::streamsize w, 
                 const char c, 
                 std::ios::fmtflags f, 
+                bool center)
+    __attribute__ ((unused));
+
+  void do_pad( std::string & s, 
+                std::streamsize w, 
+                const char c, 
+                std::ios::fmtflags f, 
                 bool center) 
     // applies centered / left / right  padding  to the string s.
     // Effects : string s is padded.