diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-08-18 16:58:53 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-08-19 09:58:29 +0300 |
commit | 97dc370c50ed3aad0ef5439402e01c8c903267d0 (patch) | |
tree | d4100d1e4e39bbd3f4a652d849f5964f69af78c9 | |
parent | 04ca28a6e078f061b2bd312b02c7823e849fe164 (diff) |
Fix compiler error in MSVSC
Introduced in: rB20a8edaa725ddbae16179d2f7cea88c097c61615
It broke building on windows, initializing a static may not be done with a function in C.
-rw-r--r-- | source/blender/blenkernel/intern/blender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index af502d30145..1d5c8f76cc5 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -137,7 +137,7 @@ const char *BKE_blender_version_string(void) bool BKE_blender_version_is_alpha(void) { - static bool is_alpha = STREQ(STRINGIFY(BLENDER_VERSION_CYCLE), "alpha"); + bool is_alpha = STREQ(STRINGIFY(BLENDER_VERSION_CYCLE), "alpha"); return is_alpha; } |