assimp/code/Common
Ryan Styrczula 84e342acd7 DefaultIOStream: Remove assert on empty count
fwrite() is valid to call with a 0 count, and will simply return 0.
See:
    https://en.cppreference.com/w/cpp/io/c/fwrite
    http://www.cplusplus.com/reference/cstdio/fwrite/

There are code paths where StreamWriter will call Tell(), which calls
Flush(), which calls Write(buffer.data(), 1, buffer.size()). This can
happen when nothing has yet been written to the buffer, so size is 0.
2020-07-14 10:39:18 -04:00
..
AssertHandler.cpp Allow assert handling to be replaced. 2020-06-23 11:55:51 +01:00
AssertHandler.h Allow assert handling to be replaced. 2020-06-23 11:55:51 +01:00
Assimp.cpp Fix build when ASSIMP_DOUBLE_PRECISION is on. 2020-06-28 17:36:21 -07:00
BaseImporter.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
BaseProcess.cpp fix warnings 2020-03-11 09:43:55 +01:00
BaseProcess.h replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
Bitmap.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
CreateAnimMesh.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
DefaultIOStream.cpp DefaultIOStream: Remove assert on empty count 2020-07-14 10:39:18 -04:00
DefaultIOSystem.cpp fix the build - add misisng forward declaration for aiVector3t. 2020-03-16 10:50:07 +01:00
DefaultLogger.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
DefaultProgressHandler.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
Exporter.cpp Merge branch 'master' into extras_property_callback 2020-07-11 22:46:19 +02:00
FileLogStream.h replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
FileSystemFilter.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
IFF.h Fix references in cmake file. 2019-06-09 18:43:56 +02:00
Importer.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
Importer.h replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
ImporterRegistry.cpp Merge branch 'file-formatting' of https://github.com/aaronfranke/assimp into aaronfranke-file-formatting 2020-05-05 10:17:52 +02:00
PolyTools.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
PostStepRegistry.cpp small refactorings. 2020-03-09 10:55:32 +01:00
RemoveComments.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
SGSpatialSort.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
SceneCombiner.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
ScenePreprocessor.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
ScenePreprocessor.h replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
ScenePrivate.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
SkeletonMeshBuilder.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
SpatialSort.cpp Improve ToBinary() for double precision. 2020-07-03 18:14:45 -07:00
StandardShapes.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
StdOStreamLogStream.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
Subdivision.cpp closes https://github.com/assimp/assimp/issues/3252: fix build. 2020-07-07 17:35:03 +02:00
TargetAnimation.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
TargetAnimation.h replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
Version.cpp reformat unittests. 2020-03-22 12:13:09 +01:00
VertexTriangleAdjacency.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
VertexTriangleAdjacency.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
Win32DebugLogStream.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
ZipArchiveIOSystem.cpp replace NULL and avoid ai_assert with more than 2 tests. 2020-06-23 21:05:42 +02:00
assbin_chunks.h Renamed WriteDumb.cpp to WriteDump.cpp 2020-01-30 16:40:34 -05:00
material.cpp Fixed TextureTypeToString defined multiple times. 2020-02-06 13:19:01 -05:00
scene.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
simd.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
simd.h Updated copyright dates. 2020-01-20 08:53:12 -05:00