Description: Fixes FTBFS duew to the warnings-as-error hardening
Author: Paul Dreik <debianbugs@pauldreik.se>
Acked-By: Anton Gladky <gladk@debian.org>
Bug-Debian: https://bugs.debian.org/860604
Last-Update: 2017-04-19

--- python-escript-5.0.orig/escriptcore/src/BinaryDataReadyOps.cpp
+++ python-escript-5.0/escriptcore/src/BinaryDataReadyOps.cpp
@@ -312,6 +312,7 @@ inline void binaryOpDataReadyHelperEET(D
   LSCALAR dummyl=0;
   RSCALAR dummyr=0;
   DataTypes::RealVectorType::size_type valcount=res.getNumDPPSample()*DataTypes::noValues(res.getShape());
+  (void)valcount;
 
     escript::binaryOpVectorTagged(res.getTypedVectorRW(resdummy), 
 			      res.getNumSamples(),res.getNumDPPSample(), DataTypes::noValues(res.getShape()), 
@@ -370,6 +371,7 @@ inline void binaryOpDataReadyHelperETE(D
   LSCALAR dummyl=0;
   RSCALAR dummyr=0;
   DataTypes::RealVectorType::size_type valcount=res.getNumDPPSample()*DataTypes::noValues(res.getShape());
+  (void)valcount;
 
     escript::binaryOpVectorTagged(res.getTypedVectorRW(resdummy), 
 			      res.getNumSamples(),res.getNumDPPSample(), DataTypes::noValues(res.getShape()), 
