comparison rdf/RDFImporter.cpp @ 1582:70e172e6cc59 fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:33:41 +0000
parents 85e9b7b31a8d
children 7a23dfe65d66
comparison
equal deleted inserted replaced
1581:ad5f892c0c4d 1582:70e172e6cc59
615 615
616 int dimensions = 1; 616 int dimensions = 1;
617 if (values.size() == 1) dimensions = 2; 617 if (values.size() == 1) dimensions = 2;
618 else if (values.size() > 1) dimensions = 3; 618 else if (values.size() > 1) dimensions = 3;
619 619
620 Model *model = 0; 620 Model *model = nullptr;
621 621
622 if (modelMap[timeline][type][dimensions].find(haveDuration) == 622 if (modelMap[timeline][type][dimensions].find(haveDuration) ==
623 modelMap[timeline][type][dimensions].end()) { 623 modelMap[timeline][type][dimensions].end()) {
624 624
625 /* 625 /*
807 { 807 {
808 bool haveAudio = false; 808 bool haveAudio = false;
809 bool haveAnnotations = false; 809 bool haveAnnotations = false;
810 bool haveRDF = false; 810 bool haveRDF = false;
811 811
812 BasicStore *store = 0; 812 BasicStore *store = nullptr;
813 813
814 // This is not expected to return anything useful, but if it does 814 // This is not expected to return anything useful, but if it does
815 // anything at all then we know we have RDF 815 // anything at all then we know we have RDF
816 try { 816 try {
817 //!!! non-local document? 817 //!!! non-local document?