Cleanup: use static struct for app-template state
authorCampbell Barton <ideasman42@gmail.com>
Tue, 18 Dec 2018 23:07:30 +0000 (10:07 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 18 Dec 2018 23:18:15 +0000 (10:18 +1100)
source/blender/windowmanager/intern/wm_files.c

index 91b04c9..b21a9d8 100644 (file)
@@ -645,7 +645,7 @@ bool WM_file_read(bContext *C, const char *filepath, ReportList *reports)
 
 }
 
-struct {
+static struct {
        char app_template[64];
        bool override;
 } wm_init_state_app_template = {{0}};