Alembic: don't explicitly pass NULL
authorSybren A. Stüvel <sybren@stuvel.eu>
Tue, 16 Jan 2018 15:28:10 +0000 (16:28 +0100)
committerSybren A. Stüvel <sybren@stuvel.eu>
Tue, 16 Jan 2018 15:28:10 +0000 (16:28 +0100)
source/blender/alembic/intern/abc_customdata.cc

index ddc83a6aa60beab5cb2a053f04f1f7578549b7c5..b3b015c7abf6332fd1c7da802f57541e3c4d8791 100644 (file)
@@ -285,7 +285,7 @@ static void read_custom_data_mcols(const std::string & iobject_full_name,
 {
        C3fArraySamplePtr c3f_ptr = C3fArraySamplePtr();
        C4fArraySamplePtr c4f_ptr = C4fArraySamplePtr();
-       Alembic::Abc::UInt32ArraySamplePtr indices(NULL);
+       Alembic::Abc::UInt32ArraySamplePtr indices;
        bool use_c3f_ptr;
        bool is_facevarying;