Index: trunk/Mars/mbase/MStatusDisplay.cc
===================================================================
--- trunk/Mars/mbase/MStatusDisplay.cc	(revision 10166)
+++ trunk/Mars/mbase/MStatusDisplay.cc	(revision 11407)
@@ -1555,5 +1555,5 @@
         }
 
-        const UInt_t len = sizeof(char)*(strlen(buf2)+1);
+        len = sizeof(char)*(strlen(buf2)+1);
 
         const size_t ret = fwrite(buf2, len, 1, p);
@@ -2333,5 +2333,5 @@
     MStatusArray list;
 
-    const Int_t n = list.Read(name);
+    Int_t n = list.Read(name);
 
     //
@@ -2342,7 +2342,7 @@
     {
         // Either read the title from the file or create our own
-        TNamed *n=0;
-        gFile->GetObject("Title", n); // FIXME: Is the list allowed to take ownership?
-        list.Add(n ? n : new TNamed(GetName(), GetTitle()));
+        TNamed *title=0;
+        gFile->GetObject("Title", title); // FIXME: Is the list allowed to take ownership?
+        list.Add(title ? title : new TNamed(GetName(), GetTitle()));
 
         const Bool_t store = TH1::AddDirectoryStatus();
