Changeset 3572 in Sophya for trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc
r3452 r3572 157 157 } 158 158 /* -- Fonction utilitaire pour verifier le code d'erreur fitsio -- */ 159 static inline bool FitsCheckStatus(int st, c har * emsg = NULL) {159 static inline bool FitsCheckStatus(int st, const char * emsg = NULL) { 160 160 if (st) { 161 161 fits_report_error(stderr, st); … … 272 272 int FitsInOutFile::CurrentHDU() const 273 273 { 274 int status = 0;274 //unused: int status = 0; 275 275 int curhdu = 0; 276 276 fits_get_hdu_num(FitsPtr() , &curhdu); … … 496 496 int colnum, typecode; 497 497 LONGLONG repeat, colw; // $CHECK$ LONGLONG ??? 498 int ncols = 0;498 //unused: int ncols = 0; 499 499 char colname[128]; // longueur max d'un nom de colonne 500 500 501 501 while (status != COL_NOT_FOUND) { 502 fits_get_colname(FitsPtr(), CASEINSEN, "*", colname, &colnum, &status); 502 char dum[2] = {'*','\0'}; 503 fits_get_colname(FitsPtr(), CASEINSEN, dum, colname, &colnum, &status); 503 504 if (status == COL_NOT_FOUND) break; 504 505 if ( (status != COL_NOT_UNIQUE) && (status != 0) ) { … … 665 666 666 667 CheckFitsPtr(FitsPtr()); 667 int status = 0;668 //unused: int status = 0; 668 669 DVList::ValList::const_iterator it; 669 670 for(it = dvl.Begin(); it != dvl.End(); it++)
Note:
See TracChangeset
for help on using the changeset viewer.