comparison rdf/RDFImporter.cpp @ 1471:85e9b7b31a8d

Avoid compiler warning
author Chris Cannam
date Thu, 24 May 2018 16:30:55 +0100
parents b9faee02afa5
children 70e172e6cc59
comparison
equal deleted inserted replaced
1470:7d9b537b6a1e 1471:85e9b7b31a8d
816 try { 816 try {
817 //!!! non-local document? 817 //!!! non-local document?
818 store = BasicStore::load(QUrl(url)); 818 store = BasicStore::load(QUrl(url));
819 Triple t = store->matchOnce(Triple()); 819 Triple t = store->matchOnce(Triple());
820 if (t != Triple()) haveRDF = true; 820 if (t != Triple()) haveRDF = true;
821 } catch (std::exception &e) { 821 } catch (std::exception &) {
822 // nothing; haveRDF will be false so the next bit catches it 822 // nothing; haveRDF will be false so the next bit catches it
823 } 823 }
824 824
825 if (!haveRDF) { 825 if (!haveRDF) {
826 delete store; 826 delete store;