lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] (no subject)


From: Greg Chicares
Subject: [lmi-commits] (no subject)
Date: Fri, 3 Jun 2016 23:13:49 +0000 (UTC)

branch: master
commit 925fda8772e22df4e39b59f142fef74b05afbc0b
Author: Vadim Zeitlin <address@hidden>
Date:   Tue May 17 00:30:47 2016 +0200

    Avoid unused variables warnings in PETE code
    
    Just don't use the variable names for the unused variables.
---
 tools/pete-2.1.1/PETE/Combiners.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/pete-2.1.1/PETE/Combiners.h 
b/tools/pete-2.1.1/PETE/Combiners.h
index f301f3e..9f60229 100644
--- a/tools/pete-2.1.1/PETE/Combiners.h
+++ b/tools/pete-2.1.1/PETE/Combiners.h
@@ -166,7 +166,7 @@ struct Combine1<A, Op, TreeCombine >
 {
   typedef UnaryNode<Op, A> Type_t;
   inline static
-  Type_t combine(const A &a, const TreeCombine &t)
+  Type_t combine(const A &a, const TreeCombine &)
   {
     return Type_t(a);
   }
@@ -177,7 +177,7 @@ struct Combine2<A, B, Op, TreeCombine >
 {
   typedef BinaryNode<Op, A, B> Type_t;
   inline static
-  Type_t combine(const A &a, const B &b, const TreeCombine &t)
+  Type_t combine(const A &a, const B &b, const TreeCombine &)
   {
     return Type_t(a, b);
   }
@@ -188,7 +188,7 @@ struct Combine3<A, B, C, Op, TreeCombine >
 {
   typedef TrinaryNode<Op, A, B, C> Type_t;
   inline static
-  Type_t combine(const A &a, const B &b, const C &c, const TreeCombine &t)
+  Type_t combine(const A &a, const B &b, const C &c, const TreeCombine &)
   {
     return Type_t(a, b, c);
   }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]