diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-02 03:09:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-02 03:17:57 +0300 |
commit | 341ab45f7b10e6a84eaceccc40372372106583f7 (patch) | |
tree | b25977878aa626dee3bb8ac73988785243c16d76 /source/blender/windowmanager | |
parent | ec76f38b0902e9effcee0cd96efd07fe6d1d1f4c (diff) |
Fix building w/o Python
Also minor cleanup.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 71d6ec673e6..16cc1d44923 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -482,6 +482,8 @@ static void wm_file_read_post(bContext *C, const bool is_startup_file, const boo BPY_python_reset(C); addons_loaded = true; } +#else + UNUSED_VARS(use_userdef); #endif /* WITH_PYTHON */ WM_operatortype_last_properties_clear_all(); |