Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv1605/src/classes

Modified Files:
        Profile.cpp 
Log Message:
fixed a crash if calling FlushAll() when the program hadn't started up correctly

Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.131
retrieving revision 1.132
diff -b -u -2 -r1.131 -r1.132
--- Profile.cpp 22 Apr 2002 17:06:54 -0000      1.131
+++ Profile.cpp 27 Apr 2002 22:59:42 -0000      1.132
@@ -572,6 +572,5 @@
 void Profile::FlushAll()
 {
-   ASSERT(ms_GlobalConfig);
-
+   if ( ms_GlobalConfig )
    ms_GlobalConfig->Flush();
 }


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to