From a71ce607a41408583906b882b568d6c254f7cd52 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Wed, 10 Aug 2011 23:46:26 +0300 Subject: [PATCH] Tests: Re-enable style param for testdivision. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My earlier commit (cfcfa3f0) removed the use of style parameter. This commit adds it back. Ticket: #2987 (GCC: warning: unused parameter ‘style’ in test/testdivision.cpp:39:10) --- test/testdivision.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testdivision.cpp b/test/testdivision.cpp index f0668f09e..0f264eb37 100644 --- a/test/testdivision.cpp +++ b/test/testdivision.cpp @@ -42,7 +42,8 @@ private: errout.str(""); Settings settings; - settings.addEnabled("style"); + if (style) + settings.addEnabled("style"); // Tokenize.. Tokenizer tokenizer(&settings, this);