From 5ae0c51c983c8cf5733aa76ecf89aa339139fa37 Mon Sep 17 00:00:00 2001 From: Davis King Date: Wed, 24 Jun 2009 23:59:29 +0000 Subject: [PATCH] Changed code slightly to avoid a warning in gcc when -W -Wall is given. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403097 --- dlib/matrix/matrix_utilities.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/matrix/matrix_utilities.h b/dlib/matrix/matrix_utilities.h index 8e2648a9f..0a98f24d7 100644 --- a/dlib/matrix/matrix_utilities.h +++ b/dlib/matrix/matrix_utilities.h @@ -2192,7 +2192,7 @@ namespace dlib typedef typename EXP::type type; typedef typename EXP::mem_manager_type mem_manager_type; template - static type apply ( const M& m, long r, long c) + static type apply ( const M& m, long r, long ) { return m(r/m.nc(), r%m.nc()); } template