From 627fbaf8a04b08cd99b3ffd333e6e74f126485e9 Mon Sep 17 00:00:00 2001 From: Eric Culp Date: Tue, 21 Aug 2012 22:27:00 -0400 Subject: [PATCH] GRAPHICS: Return value in dummy functions --- graphics/scaler/intern.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphics/scaler/intern.h b/graphics/scaler/intern.h index d32dd29179d..dbe68a84eda 100644 --- a/graphics/scaler/intern.h +++ b/graphics/scaler/intern.h @@ -218,11 +218,13 @@ inline uint32 interpolate32_2_7_7(uint32 p1, uint32 p2, uint32 p3) { template<> inline uint32 interpolate32_2_7_7 >(uint32 p1, uint32 p2, uint32 p3) { assert(0); + return 0; } template<> inline uint32 interpolate32_2_7_7 >(uint32 p1, uint32 p2, uint32 p3) { assert(0); + return 0; } /** @@ -248,11 +250,13 @@ inline uint32 interpolate32_14_1_1(uint32 p1, uint32 p2, uint32 p3) { template<> inline uint32 interpolate32_14_1_1 >(uint32 p1, uint32 p2, uint32 p3) { assert(0); + return 0; } template<> inline uint32 interpolate32_14_1_1 >(uint32 p1, uint32 p2, uint32 p3) { assert(0); + return 0; } /**