From a99a8a60705216c42368054e9bc78d012084b5fa Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Mar 2014 07:48:51 +1100 Subject: Code cleanup: style and warnings --- source/blender/makesrna/intern/rna_curve.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c index a4d099c69c7..ee6d9df1726 100644 --- a/source/blender/makesrna/intern/rna_curve.c +++ b/source/blender/makesrna/intern/rna_curve.c @@ -114,6 +114,7 @@ static const EnumPropertyItem curve3d_fill_mode_items[] = { {0, NULL, 0, NULL, NULL} }; +#ifdef RNA_RUNTIME static const EnumPropertyItem curve2d_fill_mode_items[] = { {0, "NONE", 0, "None", ""}, {CU_BACK, "BACK", 0, "Back", ""}, @@ -121,6 +122,7 @@ static const EnumPropertyItem curve2d_fill_mode_items[] = { {CU_FRONT | CU_BACK, "BOTH", 0, "Both", ""}, {0, NULL, 0, NULL, NULL} }; +#endif #ifdef RNA_RUNTIME -- cgit v1.2.3