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