@@ -3863,7 +3863,7 @@ helpers()
38633863 // pathed lambas with parameters
38643864 {
38653865 dom::Object hash;
3866- dom::Function helper = dom::makeInvocable ([](dom::Value const & arg ) {
3866+ dom::Function helper = dom::makeInvocable ([](dom::Value const &) {
38673867 return dom::Value (" winning" );
38683868 });
38693869 hash.set (" helper" , helper);
@@ -4457,7 +4457,7 @@ helpers()
44574457 // should take precedence over helper values
44584458 {
44594459 std::string string = " {{#goodbyes as |value|}}{{value}}{{/goodbyes}}{{value}}" ;
4460- hbs.registerHelper (" value" , [](dom::Value const & options ) {
4460+ hbs.registerHelper (" value" , [](dom::Value const &) {
44614461 return " foo" ;
44624462 });
44634463 hbs.registerHelper (" goodbyes" , [](dom::Value const & options) {
@@ -4668,8 +4668,8 @@ track_ids()
46684668 hbs.registerHelper (" wycats" , [](
46694669 dom::Value const & passiveVoice,
46704670 dom::Value const & noun,
4671- dom::Value const & thiz ,
4672- dom::Value const & thiz2 ,
4671+ dom::Value const &,
4672+ dom::Value const &,
46734673 dom::Value const & options) {
46744674 BOOST_TEST (options.get (" ids" ).get (0 ) == " is.a" );
46754675 BOOST_TEST (options.get (" ids" ).get (1 ) == " ../slave.driver" );
@@ -4768,7 +4768,7 @@ track_ids()
47684768 hbs.registerHelper (" wycats" , [](
47694769 dom::Value const & passiveVoice,
47704770 dom::Value const & noun,
4771- dom::Value const & blah ,
4771+ dom::Value const &,
47724772 dom::Value const & options)
47734773 {
47744774 BOOST_TEST (options.get (" ids" ).get (0 ) == " zomg.a" );
0 commit comments