[Bf-blender-cvs] [32a96b80a34] master: Cleanup: Remove unused variables in winstuff.c

Ray Molenkamp noreply at git.blender.org
Thu Jan 27 17:37:16 CET 2022


Commit: 32a96b80a349f30a878d82aaa1ed1ed574cef277
Author: Ray Molenkamp
Date:   Thu Jan 27 09:37:11 2022 -0700
Branches: master
https://developer.blender.org/rB32a96b80a349f30a878d82aaa1ed1ed574cef277

Cleanup: Remove unused variables in winstuff.c

This clears up 4 unused variable warnings coming
from BLI_windows_register_blend_extension

===================================================================

M	source/blender/blenlib/intern/winstuff.c

===================================================================

diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index 11345fc7242..d454ec6fea6 100644
--- a/source/blender/blenlib/intern/winstuff.c
+++ b/source/blender/blenlib/intern/winstuff.c
@@ -79,10 +79,6 @@ bool BLI_windows_register_blend_extension(const bool background)
   char buffer[256];
 
   char BlPath[MAX_PATH];
-  char InstallDir[FILE_MAXDIR];
-  char SysDir[FILE_MAXDIR];
-  const char *ThumbHandlerDLL;
-  char RegCmd[MAX_PATH * 2];
   char MBox[256];
   char *blender_app;
 #  ifndef _WIN64



More information about the Bf-blender-cvs mailing list