Changeset 1960
- Timestamp:
- 04/21/08 12:36:51 (3 weeks ago)
- Files:
-
- trunk/source/assert_results.cpp (modified) (3 diffs)
- trunk/source/atmdat_char_tran.cpp (modified) (2 diffs)
- trunk/source/atmdat_lines_setup.cpp (modified) (1 diff)
- trunk/source/atom_feii.cpp (modified) (2 diffs)
- trunk/source/atom_pop5.cpp (modified) (1 diff)
- trunk/source/atom_seq_beryllium.cpp (modified) (1 diff)
- trunk/source/cdgetlinelist.cpp (modified) (2 diffs)
- trunk/source/cont_createmesh.cpp (modified) (2 diffs)
- trunk/source/cont_ffun.cpp (modified) (2 diffs)
- trunk/source/cont_setintensity.cpp (modified) (1 diff)
- trunk/source/conv_base.cpp (modified) (1 diff)
- trunk/source/conv_init_solution.cpp (modified) (1 diff)
- trunk/source/cool_carb.cpp (modified) (1 diff)
- trunk/source/cool_oxyg.cpp (modified) (1 diff)
- trunk/source/cpu.cpp (modified) (3 diffs)
- trunk/source/eden_sum.cpp (modified) (2 diffs)
- trunk/source/grains.cpp (modified) (2 diffs)
- trunk/source/grains_qheat.cpp (modified) (2 diffs)
- trunk/source/heat_punch.cpp (modified) (1 diff)
- trunk/source/heat_sum.cpp (modified) (2 diffs)
- trunk/source/helike_cs.cpp (modified) (1 diff)
- trunk/source/helike_einsta.cpp (modified) (4 diffs)
- trunk/source/helike_recom.cpp (modified) (2 diffs)
- trunk/source/highen.cpp (modified) (1 diff)
- trunk/source/hydrolevel.cpp (modified) (2 diffs)
- trunk/source/hydrot2low.cpp (modified) (2 diffs)
- trunk/source/hydro_bauman.cpp (modified) (2 diffs)
- trunk/source/hydro_recom.cpp (modified) (2 diffs)
- trunk/source/hydro_vs_rates.cpp (modified) (1 diff)
- trunk/source/ion_carbo.cpp (modified) (2 diffs)
- trunk/source/ion_nitro.cpp (modified) (1 diff)
- trunk/source/ion_oxyge.cpp (modified) (2 diffs)
- trunk/source/ion_recomb.cpp (modified) (2 diffs)
- trunk/source/ion_silic.cpp (modified) (2 diffs)
- trunk/source/ion_solver.cpp (modified) (1 diff)
- trunk/source/ion_sulph.cpp (modified) (1 diff)
- trunk/source/ion_trim.cpp (modified) (2 diffs)
- trunk/source/iso_cool.cpp (modified) (2 diffs)
- trunk/source/iso_level.cpp (modified) (2 diffs)
- trunk/source/iso_photo.cpp (modified) (2 diffs)
- trunk/source/iso_solve.cpp (modified) (2 diffs)
- trunk/source/mole_co_etc.cpp (modified) (1 diff)
- trunk/source/mole_co_solve.cpp (modified) (2 diffs)
- trunk/source/mole_h2.cpp (modified) (4 diffs)
- trunk/source/mole_h2_io.cpp (modified) (3 diffs)
- trunk/source/optimize_subplx.cpp (modified) (2 diffs)
- trunk/source/parse_commands.cpp (modified) (2 diffs)
- trunk/source/parse_crashdo.cpp (modified) (2 diffs)
- trunk/source/parse_element.cpp (modified) (2 diffs)
- trunk/source/pressure_total.cpp (modified) (1 diff)
- trunk/source/prt_final.cpp (modified) (1 diff)
- trunk/source/prt_linepres.cpp (modified) (1 diff)
- trunk/source/punch_do.cpp (modified) (2 diffs)
- trunk/source/punch_fits.cpp (modified) (3 diffs)
- trunk/source/punch_line.cpp (modified) (1 diff)
- trunk/source/radius_increment.cpp (modified) (1 diff)
- trunk/source/rt_line_driving.cpp (modified) (1 diff)
- trunk/source/sanity_check.cpp (modified) (1 diff)
- trunk/source/stars.cpp (modified) (4 diffs)
- trunk/source/zero.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/source/assert_results.cpp
r1954 r1960 1471 1471 strcpy( chAssertLineLabel[nAsserts], "noth" ); 1472 1472 wavelength[nAsserts] = 0; 1473 AssertQuantity[nAsserts] = 0.; ;1473 AssertQuantity[nAsserts] = 0.; 1474 1474 AssertError[nAsserts] = DEF_ERROR; 1475 1475 } … … 2448 2448 " Label line computed asserted Rel Err Set err\n"); 2449 2449 /* now print a summary */ 2450 /*lint -e771 vars conceivably not initialized */2451 2450 for( i=0; i<nAsserts; ++i ) 2452 2451 { … … 2591 2590 } 2592 2591 } 2593 /*lint +e771 vars conceivably not initialized */2594 2592 fprintf( ioASSERT , " \n"); 2595 2593 trunk/source/atmdat_char_tran.cpp
r1879 r1960 20 20 #include "conv.h" 21 21 #include "atmdat.h" 22 /*lint -e662 possible creation out of bounds pointer */23 22 24 23 /*HCTion H charge transfer ionization, H+ + A => H + A+ */ … … 1958 1957 return; 1959 1958 } 1960 /*lint +e662 possible creation out of bounds pointer */trunk/source/atmdat_lines_setup.cpp
r1771 r1960 1261 1261 for( i=1; i<=nLevel1; ++i ) 1262 1262 { 1263 if( lev2set[i] == false)1263 if( !lev2set[i] ) 1264 1264 { 1265 1265 fprintf(ioQQQ,"PROBLEM endFindLevLine warning; line %li not claimed\n",i); trunk/source/atom_feii.cpp
r1854 r1960 61 61 #include "iso.h" 62 62 #include "pressure.h" 63 /*lint -e668 passing null pointer */64 63 65 64 /* FeIIOvrLap handle overlapping FeII lines */ … … 3287 3286 #pragma OPTIMIZE ON 3288 3287 #endif 3289 /*lint +e668 passing null pointer */trunk/source/atom_pop5.cpp
r1771 r1960 224 224 225 225 /* solve matrix */ 226 /*lint -e740 unusual pointer case */227 226 getrf_wrapper(5,5,(double*)amat,5,ipiv,&ner); 228 227 getrs_wrapper('N',5,1,(double*)amat,5,ipiv,bvec,5,&ner); 229 /*lint +e740 unusual pointer case */230 228 231 229 if( ner != 0 ) trunk/source/atom_seq_beryllium.cpp
r1822 r1960 216 216 nerror = 0; 217 217 218 /*lint -e740 unusual cast */219 218 getrf_wrapper(4, 4, (double*)amat, 4, ipiv, &nerror); 220 219 getrs_wrapper('N', 4, 1, (double*)amat, 4, ipiv, bvec, 4, &nerror); 221 /*lint +e740 unusual cast */ 222 223 /*DGETRF(4,4,(double*)amat,4,ipiv,&nerror);*/ 224 /*DGETRS('N',4,1,(double*)amat,4,ipiv,bvec,4,&nerror);*/ 220 225 221 if( nerror != 0 ) 226 222 { trunk/source/cdgetlinelist.cpp
r1915 r1960 50 50 nLines = 0; 51 51 lgDONE = false; 52 /*lint -e668 passing null pointer */53 52 while( (read_whole_line( chLine , (int)sizeof(chLine) , ioData ) != NULL) && !lgDONE ) 54 53 { … … 64 63 ++nLines; 65 64 } 66 /*lint +e668 passing null pointer */67 65 68 66 *wl = (realnum *)MALLOC( (size_t)(nLines+1)*sizeof(realnum ) ); trunk/source/cont_createmesh.cpp
r1913 r1960 438 438 * will back up at end of routine */ 439 439 ++rfield.nupper; 440 441 /*lint -e737 loss of sign in promotion from long to unsigned long - LOTS of these */442 440 443 441 /* >>chng 03 feb 12, add fine mesh fine grid fine opacity array to keep track of line overlap */ … … 626 624 return; 627 625 } 628 /*lint +e737 loss of sign */629 626 630 627 trunk/source/cont_ffun.cpp
r1815 r1960 10 10 #include "opacity.h" 11 11 #include "continuum.h" 12 /*lint -e668 passing null pointer */13 12 14 13 /*ReadTable called by TABLE READ to read in continuum from PUNCH TRANSMITTED CONTINUUM */ … … 465 464 } 466 465 467 /*lint +e668 passing null pointer */trunk/source/cont_setintensity.cpp
r1822 r1960 31 31 #include "atmdat.h" 32 32 #include "rt.h" 33 #include "pressure.h"34 33 #include "radius.h" 35 34 #include "geometry.h" trunk/source/conv_base.cpp
r1949 r1960 6 6 #include "cddefines.h" 7 7 #include "dynamics.h" 8 #include "hydrogenic.h"9 8 #include "trace.h" 10 9 #include "elementnames.h" trunk/source/conv_init_solution.cpp
r1793 r1960 451 451 * and many more if ices are important. */ 452 452 const long int LIMIT_THERMAL_LOOP=300; 453 double CoolMHeatSave=-1. , TempSave=-1. , TeNew=-1.,CoolSave=-1; ;453 double CoolMHeatSave=-1. , TempSave=-1. , TeNew=-1.,CoolSave=-1; 454 454 while( !lgConvergedLoop && LoopThermal < LIMIT_THERMAL_LOOP ) 455 455 { trunk/source/cool_carb.cpp
r1732 r1960 501 501 * present in 12C */ 502 502 cs = 2.8*dense.cdsqte/5.*1.667; 503 popratio = cs/(cs + a21); ;503 popratio = cs/(cs + a21); 504 504 embesq.em13C1910 = (realnum)(a21 * atoms.PopLevels[1]*popratio* 1.04e-11 / co.C12_C13_isotope_ratio); 505 505 trunk/source/cool_oxyg.cpp
r1732 r1960 167 167 else 168 168 { 169 cs13 = (1.054E-03)*(phycon.sqrte/phycon.te04)*phycon.te003*phycon.te0005; ;169 cs13 = (1.054E-03)*(phycon.sqrte/phycon.te04)*phycon.te003*phycon.te0005; 170 170 } 171 171 trunk/source/cpu.cpp
r1920 r1960 256 256 /* ~ is the unary bitwise complement - all bits flip */ 257 257 NewMask = ~NewMask; 258 /*lint -e534 ignore value returned by function (nothing to do with it)*/259 258 _controlfp( NewMask , _MCW_EM ); 260 /*lint +e534 ignore value returned by function (nothing to do with it)*/261 259 262 260 /* this is the code for Linux PC (but not Linux alpha) to force crash */ … … 426 424 } 427 425 428 /*lint -e740 unusual pointer cast */429 426 430 427 void t_cpu::printDataPath() const … … 640 637 return false; 641 638 } 642 643 /*lint +e740 unusual pointer cast */trunk/source/eden_sum.cpp
r1771 r1960 167 167 if( trace.lgNeBug ) 168 168 { 169 /*lint -e771 conceivably not initialized */170 169 for(nelem=ipHYDROGEN; nelem < LIMELM; nelem++) 171 170 { … … 190 189 fprintf( ioQQQ, "\n " );*/ 191 190 } 192 /*lint +e771 conceivably not initialized */193 191 } 194 192 } trunk/source/grains.cpp
r1817 r1960 235 235 STATIC double GrnVryDpth(long); 236 236 237 /*lint -e661 possible access of out-of-bounds pointer */238 /*lint -e662 creation of out of bounds pointer */239 240 237 /* >>chng 01 oct 29, introduced gv.bin[nd]->cnv_H_pGR, cnv_GR_pH, etc. PvH */ 241 238 … … 5109 5106 return GrnVryDpth_v; 5110 5107 } 5111 /*lint +e662 creation of out of bounds pointer */5112 /*lint +e661 possible access of out-of-bounds pointer */trunk/source/grains_qheat.cpp
r1812 r1960 14 14 #include "grainvar.h" 15 15 #include "grains.h" 16 /*lint -e817 Conceivably negative subscript*/17 /*lint -e661 possible access of out-of-bounds pointer */18 16 19 17 #define NO_ATOMS(ND) (gv.bin[ND]->AvVol*gv.bin[ND]->dustp[0]/ATOMIC_MASS_UNIT/gv.bin[ND]->atomWeight) … … 2578 2576 return (double)n*res; 2579 2577 } 2580 /*lint +e817 Conceivably negative subscript*/2581 /*lint +e661 possible access of out-of-bounds pointer */trunk/source/heat_punch.cpp
r1771 r1960 319 319 j = jpsave[ip]; 320 320 ASSERT( i<LIMELM && j<LIMELM ); 321 /*lint -e662 out of bounds array index */322 321 if(k > 4 && thermal.heating[i][j]/heat_total < punch.WeakHeatCool) 323 322 break; 324 /*lint +e662 out of bounds array index */325 323 fprintf( io, "\t%s\t%.7f ", 326 324 chLabel[ip], save[ip] ); trunk/source/heat_sum.cpp
r1822 r1960 24 24 /* this is the faintest relative heating we will print */ 25 25 static const double FAINT_HEAT = 0.02; 26 /*lint -e661 possible creation of out of bounds pointer */27 /*lint -e662 possible creation of out of bounds pointer */28 /*lint -e771 out of bounds pointer */29 26 30 27 static const bool PRT_DERIV = false; … … 901 898 return; 902 899 } 903 /*lint +e661 possible creation of out of bounds pointer */904 /*lint +e662 possible creation of out of bounds pointer */905 /*lint +e771 out of bounds pointer */trunk/source/helike_cs.cpp
r1925 r1960 10 10 #include "conv.h" 11 11 #include "dense.h" 12 #include "heavy.h"13 12 #include "helike.h" 14 13 #include "helike_cs.h" 15 14 #include "hydro_vs_rates.h" 16 #include "ionbal.h"17 15 #include "iso.h" 18 16 #include "opacity.h" trunk/source/helike_einsta.cpp
r1933 r1960 21 21 #include "helike_einsta.h" 22 22 #include "hydroeinsta.h" 23 24 /*lint -e662 creation of out of bound pointer */25 /*lint -e661 creation of out of bound pointer */26 23 27 24 /* the array of transitions probabilities read from data file. */ … … 512 509 else if( lHi>=2 && lLo>=2 && nHi>nLo ) 513 510 { 514 /*lint -e790 integral to float */515 511 Aul = H_Einstein_A(nHi ,lHi , nLo , lLo , nelem); 516 /*lint +e790 integral to float */517 512 ASSERT( Aul > 0.); 518 513 … … 724 719 else if( (nHi > nLo) && ((lHi > 2) || (lLo > 2)) ) 725 720 { 726 /*lint -e790 integral to float */727 721 Aul = H_Einstein_A(nHi ,lHi , nLo , lLo , nelem); 728 /*lint +e790 integral to float */729 722 ASSERT( Aul > 0.); 730 723 } … … 1203 1196 return; 1204 1197 } 1205 /*lint +e662 creation of out of bound pointer */1206 /*lint +e661 creation of out of bound pointer */trunk/source/helike_recom.cpp
r1925 r1960 26 26 #include "opacity.h" 27 27 #include "atmdat.h" 28 29 /*lint -e662 creation of out of bound pointer */30 /*lint -e661 creation of out of bound pointer */31 28 32 29 /* The three of these are used in the computation of Recomb_Seaton59 */ … … 2196 2193 return Integrand; 2197 2194 } 2198 2199 /*lint +e662 creation of out of bound pointer */2200 /*lint +e661 creation of out of bound pointer */trunk/source/highen.cpp
r1822 r1960 9 9 #include "magnetic.h" 10 10 #include "hextra.h" 11 #include "hmi.h"12 11 #include "thermal.h" 13 12 #include "dense.h" trunk/source/hydrolevel.cpp
r1732 r1960 13 13 #include "ionbal.h" 14 14 #include "hydrogenic.h" 15 /*lint -e661 Possible access of out-of-bounds pointer*/16 /*lint -e662 Possible access of out-of-bounds pointer*/17 15 18 16 /*PrtHydroTrace1a print trace info for hydrogen-like species */ … … 392 390 return; 393 391 } 394 /*lint +e661 Possible access of out-of-bounds pointer*/395 /*lint +e662 Possible access of out-of-bounds pointer*/trunk/source/hydrot2low.cpp
r1822 r1960 13 13 #include "phycon.h" 14 14 #include "hydrogenic.h" 15 /*lint -e662 out of bounds pointer */16 15 17 16 void HydroT2Low( long int ipISO, long int nelem ) … … 181 180 return; 182 181 } 183 /*lint +e662 out of bounds pointer */trunk/source/hydro_bauman.cpp
r1919 r1960 34 34 typedef struct t_mxq mxq; 35 35 36 /*lint -e790 integral to float */37 36 /************************************************************************************************/ 38 37 /* these routines were written by Robert Bauman */ … … 4445 4444 return partsum; 4446 4445 } 4447 /*lint +e790 integral to float */trunk/source/hydro_recom.cpp
r1732 r1960 15 15 #include "opacity.h" 16 16 #include "atmdat.h" 17 18 /*lint -e662 creation of out of bound pointer */19 /*lint -e661 creation of out of bound pointer */20 17 21 18 static double RecomInt(double EE); … … 121 118 return x1; 122 119 } 123 124 125 /*lint +e662 creation of out of bound pointer */126 /*lint +e661 creation of out of bound pointer */trunk/source/hydro_vs_rates.cpp
r1940 r1960 11 11 #include "phycon.h" 12 12 #include "physconst.h" 13 #include "hydrooscilstr.h"14 13 #include "iso.h" 15 14 #include "hydro_vs_rates.h" trunk/source/ion_carbo.cpp
r1732 r1960 78 78 79 79 /* get recombination coefficients */ 80 /*lint -e740 unusual pointer cast */81 80 /*lint -e64 double = pointer */ 82 81 ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipCARBON); … … 147 146 } 148 147 return; 149 /*lint +e740 unusual pointer cast */150 148 } trunk/source/ion_nitro.cpp
r1732 r1960 50 50 51 51 /* get recombination coefficients */ 52 /*lint -e740 unusual pointer casts */53 52 /*lint -e64 type mismatch */ 54 53 ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipNITROGEN); 55 /*lint +e740 unusual pointer casts */56 54 /*lint +e64 type mismatch */ 57 55 trunk/source/ion_oxyge.cpp
r1732 r1960 66 66 67 67 /* get recombination coefficients */ 68 /*lint -e740 unusual pointer cast */69 68 /*lint -e64 type mismatch */ 70 69 ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipOXYGEN); … … 234 233 return; 235 234 } 236 /*lint +e740 unusual pointer cast */trunk/source/ion_recomb.cpp
r1732 r1960 1 1 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and 2 2 * others. For conditions of distribution and use see copyright notice in license.txt */ 3 /*lint -e817 PCLint generates tons of bogus nelem < 0 warnings*/4 3 /*ion_recomb generate recombination coefficients for any species */ 5 4 /*ion_recombAGN generate recombination coefficients for AGN table */ … … 610 609 return; 611 610 } 612 /*lint +e817 pclint generates tons of bogus nelem < 0 warnings*/trunk/source/ion_silic.cpp
r1952 r1960 3 3 /*IonSilic determine ionization balance of Silicon */ 4 4 #include "cddefines.h" 5 #include "trace.h"6 5 #include "dense.h" 7 #include "sil.h"8 6 #include "ionbal.h" 9 7 … … 74 72 75 73 /* get recombination coefficients */ 76 /*lint -e740 unusual pointer cast */77 74 /*lint -e64 type mismatch */ 78 75 ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipSILICON); 79 /*lint +e740 unusual pointer cast */80 76 /*lint +e64 type mismatch */ 81 77 trunk/source/ion_solver.cpp
r1803 r1960 415 415 /* only used for possible printout - multiple electron Auger rate - 416 416 * do not count one-electron as Auger */ 417 /*lint -e771 not init */418 417 if( nej>1 ) 419 418 auger[IonProduced-1] += rateone; 420 /*lint +e771 not init */421 419 } 422 420 } trunk/source/ion_sulph.cpp
r1732 r1960 54 54 55 55 /* get recombination coefficients */ 56 /*lint -e740 unusual pointer cast */57 56 /*lint -e64 type mismatch */ 58 57 ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipSULPHUR); 59 /*lint +e740 unusual pointer cast */60 58 /*lint +e64 type mismatch */ 61 59 trunk/source/ion_trim.cpp
r1732 r1960 16 16 #include "struc.h" 17 17 #include "ionbal.h" 18 /*lint -e661 Possible access of out-of-bounds pointer*/19 18 20 19 void ion_trim( … … 432 431 return; 433 432 } 434 /*lint +e661 Possible access of out-of-bounds pointer*/trunk/source/iso_cool.cpp
r1951 r1960 12 12 #include "cooling.h" 13 13 #include "iso.h" 14 /*lint -e661 Possible access of out-of-bounds pointer*/15 /*lint -e662 (Warning -- Possible creation of out-of-bounds pointer */16 14 17 15 /* HP cc cannot compile this routine with any optimization */ … … 701 699 #pragma OPTIMIZE ON 702 700 #endif 703 /*lint +e661 Possible access of out-of-bounds pointer*/704 /*lint +e662 (Warning -- Possible creation of out-of-bounds pointer */trunk/source/iso_level.cpp
r1941 r1960 24 24 #include "trace.h" 25 25 26 /*lint -e662 Possible access of out-of-bounds pointer*/27 /*===================================================================================*/28 26 /* solve for level populations */ 29 27 void iso_level( const long int ipISO, const long int nelem) … … 666 664 return; 667 665 } 668 /*lint +e662 Possible access of out-of-bounds pointer*/trunk/source/iso_photo.cpp
r1925 r1960 11 11 #include "gammas.h" 12 12 #include "iso.h" 13 /*lint -e661 Possible access of out-of-bounds pointer*/14 /*lint -e662 (Warning -- Possible creation of out-of-bounds pointer */15 13 16 14 void iso_photo( … … 183 181 return; 184 182 } 185 /*lint +e661 Possible access of out-of-bounds pointer*/186 /*lint +e662 (Warning -- Possible creation of out-of-bounds pointer */trunk/source/iso_solve.cpp
r1936 r1960 22 22 #include "trace.h" 23 23 24 /*lint -e662 creation of out of bound pointer */25 /*lint -e661 creation of out of bound pointer */26 27 24 /* iso_solve main routine to call iso_level and determine iso level balances */ 28 25 void iso_solve(long ipISO) … … 589 586 return; 590 587 } 591 592 593 /*lint +e662 creation of out of bound pointer */594 /*lint +e661 creation of out of bound pointer */trunk/source/mole_co_etc.cpp
r1775 r1960 839 839 fprintf(ioQQQ,"This could happen if an element was initially turned off or grains not included, then the element or grains was included. There are not allowed.\n"); 840 840 fprintf(ioQQQ,"Sorry.\n"); 841 cdEXIT(EXIT_FAILURE); ;841 cdEXIT(EXIT_FAILURE); 842 842 } 843 843 trunk/source/mole_co_solve.cpp
r1771 r1960 398 398 merror = 0; 399 399 400 /*lint -e740 unusual pointer case */401 400 getrf_wrapper(mole.num_comole_calc,mole.num_comole_calc,mole.amat[0],mole.num_comole_calc, ipiv,&merror); 402 /*DGETRF(mole.num_comole_calc,mole.num_comole_calc,(double*)amat,mole.num_comole_calc, ipiv,&merror);*/403 401 404 402 if( merror != 0 ) … … 409 407 410 408 getrs_wrapper('N',mole.num_comole_calc,1,mole.amat[0],mole.num_comole_calc,ipiv,mole.b,mole.num_comole_calc,&merror); 411 /*lint +e740 unusual pointer case */412 409 413 410 if( merror != 0 ) trunk/source/mole_h2.cpp
r1811 r1960 2338 2338 h2.para_density = 0.; 2339 2339 H2_den_s = 0.; 2340 H2_den_g = 0.; ;2340 H2_den_g = 0.; 2341 2341 2342 2342 for( iVibHi=0; iVibHi<=h2.nVib_hi[iElecHi]; ++iVibHi ) … … 2423 2423 /* begin check on whether solution is converged */ 2424 2424 lgConv_h2_soln = true; 2425 lgPopsConv_total = true; ;2426 lgPopsConv_relative = true; ;2425 lgPopsConv_total = true; 2426 lgPopsConv_relative = true; 2427 2427 lgHeatConv = true; 2428 2428 lgSolomonConv = true; … … 3056 3056 return; 3057 3057 } 3058 /*lint -e668 possible bad pointer */3059 3058 /*lint -e802 possible bad pointer */ 3060 3059 … … 3733 3732 return; 3734 3733 } 3735 /*lint +e668 possible bad pointer */3736 3734 /*lint +e802 possible bad pointer */ 3737 3735 trunk/source/mole_h2_io.cpp
r1885 r1960 39 39 #include "cddrive.h" 40 40 #include "mole.h" 41 /*lint -e662 possible access of out-of-bounds pointer */42 41 43 42 /* this will say whether ortho or para, … … 2218 2217 H2Lines[1][1][1][0][iVib][iRot].Emis->pump, 2219 2218 H2Lines[1][1][1][0][iVib][iRot].Emis->TauIn, 2220 H2Lines[1][1][1][0][iVib][iRot].Emis->TauCon); ;2219 H2Lines[1][1][1][0][iVib][iRot].Emis->TauCon); 2221 2220 } 2222 2221 return; … … 2298 2297 return 1; 2299 2298 } 2300 2301 /*lint +e662 possible access of out-of-bounds pointer */trunk/source/optimize_subplx.cpp
r1732 r1960 23 23 24 24 /*lint -e801 goto is deprecated */ 25 /*lint -e740 unusual pointer casts */26 25 /*lint -e64 type mismatch */ 27 26 /********************************************************************* … … 2088 2087 } 2089 2088 /*lint +e801 goto is deprecated */ 2090 /*lint +e740 unusual pointer casts */2091 2089 /*lint +e64 type mismatch */ trunk/source/parse_commands.cpp
r1948 r1960 36 36 #include "conv.h" 37 37 #include "parse.h" 38 /*lint -e661 creation of out of bound pointer */39 38 40 39 void ParseCommands(void) … … 2129 2128 return; 2130 2129 } 2131 /*lint +e661 creation of out of bound pointer */trunk/source/parse_crashdo.cpp
r1771 r1960 207 207 208 208 /* must turn off PCLint detection of logical errors in this block */ 209 /*lint -e662 out of bounds*/210 /*lint -e661 out of bounds*/211 209 if( nMatch("STAT",chCard) ) 212 210 { … … 281 279 fflush(ioQQQ); 282 280 } 283 /*lint +e662 out of bounds*/284 /*lint +e661 out of bounds*/285 281 lgCrash = true; 286 282 } trunk/source/parse_element.cpp
r1771 r1960 12 12 #include "elementnames.h" 13 13 #include "parse.h" 14 /*lint -e661 creation of out of bound pointer */15 /*lint -e817 Conceivably negative subscript */16 14 17 15 void ParseElement(char *chCard ) … … 513 511 return; 514 512 } 515 /*lint +e661 creation of out of bound pointer */516 /*lint +e817 Conceivably negative subscript */trunk/source/pressure_total.cpp
r1854 r1960 27 27 #include "rt.h" 28 28 #include "atmdat.h" 29 #include "heavy.h"30 29 #include "lines_service.h" 31 30 #include "pressure.h" trunk/source/prt_final.cpp
r1894 r1960 6 6 /*gett2 analyze computed structure to get structural t^2 */ 7 7 #include "cddefines.h" 8 #include "utilitymacros.h"9 8 #include "iso.h" 10 9 #include "cddrive.h" trunk/source/prt_linepres.cpp
