From a342e2d1d19573cb912e8fe2ce6d470fecf877b0 Mon Sep 17 00:00:00 2001 From: Pan7 Date: Sat, 20 Aug 2016 06:59:43 +0200 Subject: [PATCH] Fix for uninitialized var warning --- libs/picomodel/pm_mdc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/picomodel/pm_mdc.c b/libs/picomodel/pm_mdc.c index 2e4849fb..396cadc9 100644 --- a/libs/picomodel/pm_mdc.c +++ b/libs/picomodel/pm_mdc.c @@ -52,7 +52,7 @@ #define MDC_DIST_SCALE 0.05f /* mdc decoding normal table */ -double mdcNormals[ 256 ][ 3 ] = +const double mdcNormals[ 256 ][ 3 ] = { { 1.000000, 0.000000, 0.000000 }, { 0.980785, 0.195090, 0.000000 },