Cleanup: Various clang-tidy warnings in creator
Pull Request: https://projects.blender.org/blender/blender/pulls/133734
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user