Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-09-14 01:05:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-14 01:05:57 +0300
commitd30ec73d763ed01795100ec5d3a0ef9dc8521f7b (patch)
treedebe8d739191d1b33eb89c5f9f6a1579081767a7 /source/blender/makesdna/intern/dna_defaults.c
parent1cdfc1d199c3c7a03f1511df6007160b97ccaefb (diff)
Cleanup: undeclared variable warnings, extra semicolon
Diffstat (limited to 'source/blender/makesdna/intern/dna_defaults.c')
-rw-r--r--source/blender/makesdna/intern/dna_defaults.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/dna_defaults.c b/source/blender/makesdna/intern/dna_defaults.c
index bae0df7e1e6..76d076a8638 100644
--- a/source/blender/makesdna/intern/dna_defaults.c
+++ b/source/blender/makesdna/intern/dna_defaults.c
@@ -93,7 +93,7 @@
#include "DNA_world_defaults.h"
#define SDNA_DEFAULT_DECL_STRUCT(struct_name) \
- const struct_name DNA_DEFAULT_##struct_name = _DNA_DEFAULT_##struct_name
+ static const struct_name DNA_DEFAULT_##struct_name = _DNA_DEFAULT_##struct_name
/* DNA_brush_defaults.h */
SDNA_DEFAULT_DECL_STRUCT(Brush);
@@ -103,8 +103,6 @@ SDNA_DEFAULT_DECL_STRUCT(CacheFile);
/* DNA_camera_defaults.h */
SDNA_DEFAULT_DECL_STRUCT(Camera);
-SDNA_DEFAULT_DECL_STRUCT(CameraDOFSettings);
-SDNA_DEFAULT_DECL_STRUCT(CameraStereoSettings);
/* DNA_curve_defaults.h */
SDNA_DEFAULT_DECL_STRUCT(Curve);