Changeset 2223


Ignore:
Timestamp:
2001-03-25T16:04:53+12:00 (23 years ago)
Author:
davidb
Message:

Altered declaration of variables for a corba error to include initialisation
to 'corbaNoError'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/corbaproto.mpp

    r2173 r2223  
    378378  corbatext_t      corbaKey;
    379379  corbatext_tarray corbaCfgline;
    380   gsdlInterface::corbaComError error;
     380  gsdlInterface::corbaComError error = corbaNoError;
    381381
    382382  // get the corba client reference
     
    404404bool corbaproto::init (comerror_t &err, ostream &logout) {
    405405//  cout << "Corbaproto::Init" << endl;
    406   gsdlInterface::corbaComError error;
     406  gsdlInterface::corbaComError error = corbaNoError;
    407407
    408408  // get the corba client reference
     
    498498  corbatext_tarray corba_collist;
    499499  text_tarray      tcollist;
    500   gsdlInterface::corbaComError error;
     500  gsdlInterface::corbaComError error = corbaNoError;
    501501
    502502  // get the corba client reference
     
    519519
    520520  corbatext_t     corbaCollection;
    521   corbaComError corbaError;
     521  corbaComError corbaError = corbaNoError;
    522522  CORBA::Boolean corbaHas;
    523523
     
    542542
    543543  corbatext_t corbaCollect;
    544   corbaComError corbaError;
     544  corbaComError corbaError = corbaNoError;
    545545  CORBA::Boolean success;
    546546
     
    557557  // convert the response back to normal form
    558558  wassuccess = (success != 0);
     559  err = (comerror_t) corbaError; 
    559560}
    560561
     
    566567
    567568  corbatext_t          corbaCollection;
    568   corbaComError        corbaError;
     569  corbaComError        corbaError = corbaNoError;
    569570  corbaColInfoResponse corbaCollectInfo;
    570571
     
    609610  corbatext_t corbaCollection;
    610611  corbatext_tset corbaResponse;
    611   corbaComError corbaError;
     612  corbaComError corbaError = corbaNoError;
    612613 
    613614  // get the corba client reference
     
    636637  corbatext_t filterName;
    637638  corbaFilterOptionsResponse corbaResponse;
    638   corbaComError corbaError;
     639  corbaComError corbaError = corbaNoError;
    639640  unsigned int i;
    640641  corbaconv_text_t *cc_name;
     
    680681  corbaFilterResponse corbaResponse;
    681682  corbatext_t     corbaCollection;
    682   corbaComError corbaError;
     683  corbaComError corbaError = corbaNoError;
    683684
    684685  // get the corba client reference
     
    725726  corbaDocRequest  corbaRequest;
    726727  corbaDocResponse corbaResponse;
    727   corbaComError    corbaError;
     728  corbaComError    corbaError = corbaNoError;
    728729
    729730  // get the corba client reference
Note: See TracChangeset for help on using the changeset viewer.