glTF: Silence uninitialized variable warning
authorTuro Lamminen <turotl@gmail.com>
Mon, 18 Sep 2017 12:18:45 +0000 (15:18 +0300)
committerTuro Lamminen <turotl@gmail.com>
Mon, 18 Sep 2017 12:18:45 +0000 (15:18 +0300)
commit40c308af4423429452e0ee03fb3d50bc60a5d6c0
tree6e6b65511b33cb985a91f37f4bb584b34c2b1f7f
parentb74fc9495aeb35346a0b941de3f984d17eebd3dc
glTF: Silence uninitialized variable warning

This is a false positive. 'jointNamesIndex' is either set by the loop
or the following conditional is false which also sets it. The undefined value
is never seen by the following code.
code/glTF2Exporter.cpp
code/glTFExporter.cpp