From d30ec73d763ed01795100ec5d3a0ef9dc8521f7b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Sep 2019 08:05:57 +1000 Subject: Cleanup: undeclared variable warnings, extra semicolon --- source/blender/makesdna/intern/dna_defaults.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/makesdna/intern/dna_defaults.c') 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); -- cgit v1.2.3