[Bf-blender-cvs] [763cd94b6c5] master: Cleanup: Alembic, fix compiler warning about missing declaration

Sybren A. Stüvel noreply at git.blender.org
Wed Oct 7 12:42:35 CEST 2020


Commit: 763cd94b6c5917c6d383fa9f92b9f059e63642d7
Author: Sybren A. Stüvel
Date:   Wed Oct 7 12:41:45 2020 +0200
Branches: master
https://developer.blender.org/rB763cd94b6c5917c6d383fa9f92b9f059e63642d7

Cleanup: Alembic, fix compiler warning about missing declaration

Mark the `has_animated_geom_params()` function as `static`, as it's only
used in that particular compilation unit.

No functional changes.

===================================================================

M	source/blender/io/alembic/intern/abc_reader_mesh.cc

===================================================================

diff --git a/source/blender/io/alembic/intern/abc_reader_mesh.cc b/source/blender/io/alembic/intern/abc_reader_mesh.cc
index 93e4c7b154a..b7fcdbc2087 100644
--- a/source/blender/io/alembic/intern/abc_reader_mesh.cc
+++ b/source/blender/io/alembic/intern/abc_reader_mesh.cc
@@ -508,7 +508,7 @@ bool is_valid_animated(const ICompoundProperty arbGeomParams, const PropertyHead
   return geom_param.valid() && !geom_param.isConstant();
 }
 
-bool has_animated_geom_params(const ICompoundProperty arbGeomParams)
+static bool has_animated_geom_params(const ICompoundProperty arbGeomParams)
 {
   if (!arbGeomParams.valid()) {
     return false;



More information about the Bf-blender-cvs mailing list