Browse Source

AssbinExporter: Add assertion to silence a static analyzer warning

Turo Lamminen 7 years ago
parent
commit
437816fc33
1 changed files with 1 additions and 0 deletions
  1. 1 0
      code/AssbinExporter.cpp

+ 1 - 0
code/AssbinExporter.cpp

@@ -171,6 +171,7 @@ inline size_t Write<aiQuaternion>(IOStream * stream, const aiQuaternion& v)
     t += Write<float>(stream,v.x);
     t += Write<float>(stream,v.y);
     t += Write<float>(stream,v.z);
+    ai_assert(t == 16);
     return 16;
 }