From 437816fc33d4e1ef60d5470c467d2300d2d67827 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 7 Nov 2017 19:05:01 +0200 Subject: [PATCH] AssbinExporter: Add assertion to silence a static analyzer warning --- code/AssbinExporter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/AssbinExporter.cpp b/code/AssbinExporter.cpp index 6bee6d6d1..bcac2e08f 100644 --- a/code/AssbinExporter.cpp +++ b/code/AssbinExporter.cpp @@ -171,6 +171,7 @@ inline size_t Write(IOStream * stream, const aiQuaternion& v) t += Write(stream,v.x); t += Write(stream,v.y); t += Write(stream,v.z); + ai_assert(t == 16); return 16; }