Skip to content
Snippets Groups Projects
Commit d9ab4027 authored by Rene Brun's avatar Rene Brun
Browse files

Initialize TObject *obj=0 and TObject*value=0 in Streamer to avoid

a compiler warning on AIX,kCC and VC++


git-svn-id: http://root.cern.ch/svn/root/trunk@4449 27541ba8-7e3a-0410-8455-c3a389f83636
parent 9b0a948c
Branches
Tags
No related merge requests found
// @(#)root/cont:$Name: $:$Id: TMap.cxx,v 1.3 2000/10/31 11:19:02 brun Exp $ // @(#)root/cont:$Name: $:$Id: TMap.cxx,v 1.4 2000/12/13 15:13:46 brun Exp $
// Author: Fons Rademakers 12/11/95 // Author: Fons Rademakers 12/11/95
/************************************************************************* /*************************************************************************
...@@ -236,12 +236,12 @@ void TMap::Streamer(TBuffer &b) ...@@ -236,12 +236,12 @@ void TMap::Streamer(TBuffer &b)
{ {
// Stream all key/value pairs in the map to or from the I/O buffer. // Stream all key/value pairs in the map to or from the I/O buffer.
TObject *obj; TObject *obj=0;
UInt_t R__s, R__c; UInt_t R__s, R__c;
if (b.IsReading()) { if (b.IsReading()) {
Int_t nobjects; Int_t nobjects;
TObject *value; TObject *value=0;
Version_t v = b.ReadVersion(&R__s, &R__c); Version_t v = b.ReadVersion(&R__s, &R__c);
if (v > 2) if (v > 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment