Salome HOME
Fix for "16935 [CEA] exception in group creation" issue.
[modules/geom.git] / src / GEOMGUI / GEOM_Displayer.cxx
index 098bff3da9a2be7bc6b8a0d905f5dea5363d74f1..050f2d968b91d88b15ce8d6a128e3475e4e76e64 100644 (file)
@@ -1964,7 +1964,7 @@ void GEOM_Displayer::GlobalSelection( const TColStd_MapOfInteger& theModes,
   if ( theModes.Contains( GEOM_ALLOBJECTS ) )
     return;
 
-  SUIT_SelectionFilter* aFilter;
+  SUIT_SelectionFilter* aFilter = NULL;
   if ( theModes.Extent() > 0 )
     {
       TColStd_MapOfInteger aTopAbsModes;