From 5d9151dfb8af906af56c290127422cd023378603 Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Fri, 1 Feb 2019 17:46:16 +0100
Subject: [PATCH] silence compiler warning

---
 modules/img/alg/src/fill.hh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/img/alg/src/fill.hh b/modules/img/alg/src/fill.hh
index b023d70f5..1ad32302f 100644
--- a/modules/img/alg/src/fill.hh
+++ b/modules/img/alg/src/fill.hh
@@ -32,11 +32,13 @@ namespace {
 template<typename T>
 void set_val(T& v, Real rv, const Complex& cv);
 
-template<>
-void set_val<Real>(Real& v, Real rv, const Complex& cv) {v=rv;}
+// commented out to silence compiler warning, as they're not needed anywhere
 
-template<>
-void set_val<Complex>(Complex& v, Real rv, const Complex& cv) {v=cv;}
+//template<>
+//void set_val<Real>(Real& v, Real rv, const Complex& cv) {v=rv;}
+
+//template<>
+//void set_val<Complex>(Complex& v, Real rv, const Complex& cv) {v=cv;}
 
 template<typename T>
 void set_val(T& v, Real rv, const Complex& cv)
-- 
GitLab