Skip to content
Snippets Groups Projects
Commit effd7ad8 authored by Fons Rademakers's avatar Fons Rademakers
Browse files

fix gcc 4.2 compilation warnings.

git-svn-id: http://root.cern.ch/svn/root/trunk@20985 27541ba8-7e3a-0410-8455-c3a389f83636
parent 467cf083
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ protected: ...@@ -33,7 +33,7 @@ protected:
public: public:
TAlienJobStatusList() { gGridJobStatusList = this; } TAlienJobStatusList() { gGridJobStatusList = this; }
virtual ~TAlienJobStatusList() { if (gGridJobStatusList == this); gGridJobStatusList=0;} virtual ~TAlienJobStatusList() { if (gGridJobStatusList == this) gGridJobStatusList=0; }
virtual void Print(Option_t *options) const; virtual void Print(Option_t *options) const;
virtual void Print(Option_t *wildcard, Option_t *option) const { TCollection::Print(wildcard, option); } virtual void Print(Option_t *wildcard, Option_t *option) const { TCollection::Print(wildcard, option); }
......
...@@ -106,7 +106,7 @@ TKSocket *TKSocket::Connect(const char *server, Int_t port) ...@@ -106,7 +106,7 @@ TKSocket *TKSocket::Connect(const char *server, Int_t port)
int sock = ks->fSocket->GetDescriptor(); int sock = ks->fSocket->GetDescriptor();
rc = krb5_sendauth(fgContext, &ks->fAuthContext, (krb5_pointer) &sock, rc = krb5_sendauth(fgContext, &ks->fAuthContext, (krb5_pointer) &sock,
"KRB5_TCP_Python_v1.0", fgClient, ks->fServer, (char *)"KRB5_TCP_Python_v1.0", fgClient, ks->fServer,
AP_OPTS_MUTUAL_REQUIRED, AP_OPTS_MUTUAL_REQUIRED,
&cksum_data, &cksum_data,
0, /* no creds, use ccache instead */ 0, /* no creds, use ccache instead */
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
ClassImp(TTableMap) ClassImp(TTableMap)
TTableMap::TTableMap(const TTable *table) TTableMap::TTableMap(const TTable *table)
: fTable((TTable *)table) : fTable((TTable *)table)
{ {
//to be documented //to be documented
...@@ -64,7 +64,7 @@ void TTableMap::Streamer(TBuffer &R__b) ...@@ -64,7 +64,7 @@ void TTableMap::Streamer(TBuffer &R__b)
TArrayL vecIO; TArrayL vecIO;
if (R__b.IsReading()) { if (R__b.IsReading()) {
Version_t v = R__b.ReadVersion(); Version_t v = R__b.ReadVersion();
if (v); if (v) { }
// read Table // read Table
R__b >> fTable; R__b >> fTable;
// Read index array // Read index array
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment