Cleanup: Various clang-tidy warnings in creator

Pull Request: https://projects.blender.org/blender/blender/pulls/133734
This commit is contained in:
Brecht Van Lommel
2025-01-26 20:08:09 +01:00
parent 0d92a7f57a
commit 7802dcf7ac
2 changed files with 9 additions and 6 deletions

View File

@@ -72,7 +72,9 @@
#include "RNA_define.hh"
#include "GPU_compilation_subprocess.hh"
#ifdef WITH_OPENGL_BACKEND
# include "GPU_compilation_subprocess.hh"
#endif
#ifdef WITH_FREESTYLE
# include "FRS_freestyle.h"
@@ -94,9 +96,7 @@
#ifdef WITH_LIBMV
# include "libmv-capi.h"
#endif
#ifdef WITH_CYCLES_LOGGING
#elif defined(WITH_CYCLES_LOGGING)
# include "CCL_api.h"
#endif

View File

@@ -48,8 +48,11 @@
# include "BKE_scene.hh"
# include "BKE_sound.h"
# include "GPU_capabilities.hh"
# include "GPU_context.hh"
# ifdef WITH_OPENGL_BACKEND
# include "GPU_capabilities.hh"
# include "GPU_compilation_subprocess.hh"
# endif
# ifdef WITH_PYTHON
# include "BPY_extern_python.hh"
@@ -2434,7 +2437,7 @@ static int arg_handle_python_console_run(int /*argc*/, const char ** /*argv*/, v
return 0;
# else
UNUSED_VARS(argv, data);
UNUSED_VARS(data);
fprintf(stderr, "This Blender was built without python support\n");
return 0;
# endif /* WITH_PYTHON */