We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1048939 commit e48378eCopy full SHA for e48378e
geom/gdml/src/TGDMLWrite.cxx
@@ -765,13 +765,12 @@ void TGDMLWrite::ExtractVolumes(TGeoNode *node)
765
{
766
TGeoRCExtension *rcext = (TGeoRCExtension *)volume->GetUserExtension();
767
if (rcext) {
768
- TMap *auxmap = nullptr;
769
TObject *userObj = rcext->GetUserObject();
770
if (userObj && userObj->InheritsFrom("TMap")) {
771
TMap *auxmap = (TMap *)userObj;
772
TIterator *it = auxmap->MakeIterator();
773
TObject *k = nullptr;
774
- while (k = it->Next()) {
+ while ((k = it->Next())) {
775
TObject *valobj = auxmap->GetValue(k);
776
if (!valobj || !k->InheritsFrom("TObjString") || !valobj->InheritsFrom("TObjString"))
777
continue;
0 commit comments