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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-30 08:02:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-30 08:04:20 +0400
commitc16bd951cdff8d9dd4ba44e4634cb284c6f09342 (patch)
treede4f0af701a6516ac803e002038baeb7f61b13ec /source/blender/blenlib/intern/rand.c
parent0782187979b67a743fe612d7404fe5698a4a7f24 (diff)
Enable GCC pedantic warnings with strict flags,
also modify MIN/MAX macros to prevent shadowing.
Diffstat (limited to 'source/blender/blenlib/intern/rand.c')
-rw-r--r--source/blender/blenlib/intern/rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index 25a1a528db4..0afa4f81dba 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -200,7 +200,7 @@ float BLI_frand(void)
void BLI_frand_unit_v3(float v[3])
{
- return BLI_rng_get_float_unit_v3(&theBLI_rng, v);
+ BLI_rng_get_float_unit_v3(&theBLI_rng, v);
}
float BLI_hash_frand(unsigned int seed)