Changeset 11407


Ignore:
Timestamp:
07/14/11 18:32:16 (13 years ago)
Author:
tbretz
Message:
Some improvements to get rid of compiler warnnings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbase/MStatusDisplay.cc

    r10055 r11407  
    15551555        }
    15561556
    1557         const UInt_t len = sizeof(char)*(strlen(buf2)+1);
     1557        len = sizeof(char)*(strlen(buf2)+1);
    15581558
    15591559        const size_t ret = fwrite(buf2, len, 1, p);
     
    23332333    MStatusArray list;
    23342334
    2335     const Int_t n = list.Read(name);
     2335    Int_t n = list.Read(name);
    23362336
    23372337    //
     
    23422342    {
    23432343        // Either read the title from the file or create our own
    2344         TNamed *n=0;
    2345         gFile->GetObject("Title", n); // FIXME: Is the list allowed to take ownership?
    2346         list.Add(n ? n : new TNamed(GetName(), GetTitle()));
     2344        TNamed *title=0;
     2345        gFile->GetObject("Title", title); // FIXME: Is the list allowed to take ownership?
     2346        list.Add(title ? title : new TNamed(GetName(), GetTitle()));
    23472347
    23482348        const Bool_t store = TH1::AddDirectoryStatus();
Note: See TracChangeset for help on using the changeset viewer.