Cleanup: missing-variable-declarations warning

This commit is contained in:
Campbell Barton 2020-09-12 16:27:50 +10:00
parent ad5f1d0231
commit 4c24e8e992
4 changed files with 6 additions and 5 deletions

View File

@ -49,8 +49,8 @@
#include "BLO_read_write.h"
const char *HAIR_ATTR_POSITION = "Position";
const char *HAIR_ATTR_RADIUS = "Radius";
static const char *HAIR_ATTR_POSITION = "Position";
static const char *HAIR_ATTR_RADIUS = "Radius";
/* Hair datablock */

View File

@ -53,8 +53,8 @@
static void pointcloud_random(PointCloud *pointcloud);
const char *POINTCLOUD_ATTR_POSITION = "Position";
const char *POINTCLOUD_ATTR_RADIUS = "Radius";
static const char *POINTCLOUD_ATTR_POSITION = "Position";
static const char *POINTCLOUD_ATTR_RADIUS = "Radius";
static void pointcloud_init_data(ID *id)
{

View File

@ -202,7 +202,7 @@ const float bvhtree_kdop_axes[13][3] = {
};
/* Used to correct the epsilon and thus match the overlap distance. */
const float bvhtree_kdop_axes_length[13] = {
static const float bvhtree_kdop_axes_length[13] = {
1.0f,
1.0f,
1.0f,

View File

@ -29,6 +29,7 @@
#include "UI_interface.h"
#include "bpy_rna.h"
#include "bpy_rna_ui.h"
PyDoc_STRVAR(bpy_rna_uilayout_introspect_doc,
".. method:: introspect()\n"