From f77887eae0699f3d33d177489c92bcae37e9b3e9 Mon Sep 17 00:00:00 2001 From: Denes Tarjan Date: Mon, 26 Feb 2024 12:07:29 +0100 Subject: [PATCH] [test] Remove unused code from borders.h --- intrinsiccv/include/intrinsiccv/workspace/borders.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/intrinsiccv/include/intrinsiccv/workspace/borders.h b/intrinsiccv/include/intrinsiccv/workspace/borders.h index 7562af193..6b4b7c8e2 100644 --- a/intrinsiccv/include/intrinsiccv/workspace/borders.h +++ b/intrinsiccv/include/intrinsiccv/workspace/borders.h @@ -98,10 +98,6 @@ class FixedBorderInfo final { case FixedBorderType::REVERSE: return get(-1, 0, -1); break; - - default: - // There is no good value to return here. - return Offsets{}; } } @@ -196,10 +192,6 @@ class FixedBorderInfo final { return get(0, -1, 0, 1, 2); } break; - - default: - // There is no good value to return here. - return Offsets{}; } } @@ -238,10 +230,6 @@ class FixedBorderInfo final { return get(-2, -1, 0, -1, -2); } break; - - default: - // There is no good value to return here. - return Offsets{}; } } -- GitLab