Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-22 09:34:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-22 09:34:10 +0400
commita79e10157dc7a1c8a102bf88f236d325ecdd8d80 (patch)
tree2026c37ec8c7da9094bbb20d3aedcdd82d565765 /intern
parentdd0e2da7847d31cbaf02c665e2c55b5e8c384ed4 (diff)
code cleanup: use NULL rather then 0 for pointers, and make vars static where possible.
also found unintentionally defined enum/struct variables that where only meant to be defining the type.
Diffstat (limited to 'intern')
-rw-r--r--intern/raskter/raskter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/raskter/raskter.c b/intern/raskter/raskter.c
index 21153082324..4f65f877316 100644
--- a/intern/raskter/raskter.c
+++ b/intern/raskter/raskter.c
@@ -420,7 +420,7 @@ int PLX_raskterize(float(*base_verts)[2], int num_base_verts,
{
int i; /* i: Loop counter. */
struct PolyVert *ply; /* ply: Pointer to a list of integer buffer-space vertex coordinates. */
- struct r_FillContext ctx = {0};
+ struct r_FillContext ctx = {NULL};
const float buf_x_f = (float)(buf_x);
const float buf_y_f = (float)(buf_y);
/*