Changeset 1960

Show
Ignore:
Timestamp:
04/21/08 12:36:51 (3 weeks ago)
Author:
gary
Message:

tidy up code - no change in any executable statements

upgrade lint, removed lint directives no longer needed
removed unused header files
extra ; removed in lines ending in ;;

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/assert_results.cpp

    r1954 r1960  
    14711471                strcpy( chAssertLineLabel[nAsserts], "noth" ); 
    14721472                wavelength[nAsserts] = 0; 
    1473                 AssertQuantity[nAsserts] = 0.;; 
     1473                AssertQuantity[nAsserts] = 0.; 
    14741474                AssertError[nAsserts] = DEF_ERROR; 
    14751475        } 
     
    24482448                        "                  Label line    computed     asserted Rel Err Set err\n"); 
    24492449                /* now print a summary */ 
    2450                 /*lint -e771 vars conceivably not initialized */ 
    24512450                for( i=0; i<nAsserts; ++i ) 
    24522451                { 
     
    25912590                        } 
    25922591                } 
    2593                 /*lint +e771 vars conceivably not initialized */ 
    25942592                fprintf( ioASSERT , " \n"); 
    25952593 
  • trunk/source/atmdat_char_tran.cpp

    r1879 r1960  
    2020#include "conv.h" 
    2121#include "atmdat.h" 
    22 /*lint -e662 possible creation out of bounds pointer */ 
    2322 
    2423/*HCTion H charge transfer ionization, H+ + A => H + A+ */ 
     
    19581957        return; 
    19591958} 
    1960 /*lint +e662 possible creation out of bounds pointer */ 
  • trunk/source/atmdat_lines_setup.cpp

    r1771 r1960  
    12611261        for( i=1; i<=nLevel1; ++i ) 
    12621262        { 
    1263                 if( lev2set[i] == false
     1263                if( !lev2set[i]
    12641264                { 
    12651265                        fprintf(ioQQQ,"PROBLEM endFindLevLine warning; line %li not claimed\n",i); 
  • trunk/source/atom_feii.cpp

    r1854 r1960  
    6161#include "iso.h" 
    6262#include "pressure.h" 
    63 /*lint -e668 passing null pointer */ 
    6463 
    6564/* FeIIOvrLap handle overlapping FeII lines */ 
     
    32873286#pragma OPTIMIZE ON 
    32883287#endif 
    3289 /*lint +e668 passing null pointer */ 
  • trunk/source/atom_pop5.cpp

    r1771 r1960  
    224224 
    225225        /* solve matrix */ 
    226         /*lint -e740 unusual pointer case */ 
    227226        getrf_wrapper(5,5,(double*)amat,5,ipiv,&ner); 
    228227        getrs_wrapper('N',5,1,(double*)amat,5,ipiv,bvec,5,&ner); 
    229         /*lint +e740 unusual pointer case */ 
    230228 
    231229        if( ner != 0 ) 
  • trunk/source/atom_seq_beryllium.cpp

    r1822 r1960  
    216216        nerror = 0; 
    217217 
    218         /*lint -e740 unusual cast */ 
    219218        getrf_wrapper(4, 4, (double*)amat, 4, ipiv, &nerror); 
    220219        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 
    225221        if( nerror != 0 ) 
    226222        { 
  • trunk/source/cdgetlinelist.cpp

    r1915 r1960  
    5050        nLines = 0; 
    5151        lgDONE = false; 
    52         /*lint -e668 passing null pointer */ 
    5352        while( (read_whole_line( chLine , (int)sizeof(chLine) , ioData ) != NULL) && !lgDONE ) 
    5453        { 
     
    6463                        ++nLines; 
    6564        } 
    66         /*lint +e668 passing null pointer */ 
    6765 
    6866        *wl = (realnum *)MALLOC( (size_t)(nLines+1)*sizeof(realnum ) ); 
  • trunk/source/cont_createmesh.cpp

    r1913 r1960  
    438438         * will back up at end of routine */ 
    439439        ++rfield.nupper; 
    440  
    441         /*lint -e737 loss of sign in promotion from long to unsigned long - LOTS of these */ 
    442440 
    443441        /* >>chng 03 feb 12, add fine mesh fine grid fine opacity array to keep track of line overlap */ 
     
    626624        return; 
    627625} 
    628 /*lint +e737 loss of sign */ 
    629626 
    630627 
  • trunk/source/cont_ffun.cpp

    r1815 r1960  
    1010#include "opacity.h" 
    1111#include "continuum.h" 
    12 /*lint -e668 passing null pointer */ 
    1312 
    1413/*ReadTable called by TABLE READ to read in continuum from PUNCH TRANSMITTED CONTINUUM */ 
     
    465464} 
    466465 
    467 /*lint +e668 passing null pointer */ 
  • trunk/source/cont_setintensity.cpp

    r1822 r1960  
    3131#include "atmdat.h" 
    3232#include "rt.h" 
    33 #include "pressure.h" 
    3433#include "radius.h" 
    3534#include "geometry.h" 
  • trunk/source/conv_base.cpp

    r1949 r1960  
    66#include "cddefines.h" 
    77#include "dynamics.h" 
    8 #include "hydrogenic.h" 
    98#include "trace.h" 
    109#include "elementnames.h" 
  • trunk/source/conv_init_solution.cpp

    r1793 r1960  
    451451                 * and many more if ices are important.  */ 
    452452                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; 
    454454                while( !lgConvergedLoop && LoopThermal < LIMIT_THERMAL_LOOP ) 
    455455                { 
  • trunk/source/cool_carb.cpp

    r1732 r1960  
    501501         * present in 12C */ 
    502502        cs = 2.8*dense.cdsqte/5.*1.667; 
    503         popratio =      cs/(cs + a21);; 
     503        popratio =      cs/(cs + a21); 
    504504        embesq.em13C1910 = (realnum)(a21 * atoms.PopLevels[1]*popratio* 1.04e-11 / co.C12_C13_isotope_ratio); 
    505505 
  • trunk/source/cool_oxyg.cpp

    r1732 r1960  
    167167        else 
    168168        { 
    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; 
    170170        } 
    171171 
  • trunk/source/cpu.cpp

    r1920 r1960  
    256256        /* ~ is the unary bitwise complement - all bits flip */  
    257257        NewMask = ~NewMask; 
    258         /*lint -e534 ignore value returned by function (nothing to do with it)*/ 
    259258        _controlfp( NewMask , _MCW_EM ); 
    260         /*lint +e534 ignore value returned by function (nothing to do with it)*/ 
    261259 
    262260        /* this is the code for Linux PC (but not Linux alpha) to force crash */ 
     
    426424} 
    427425 
    428 /*lint -e740 unusual pointer cast */ 
    429426 
    430427void t_cpu::printDataPath() const 
     
    640637                return false; 
    641638} 
    642  
    643 /*lint +e740 unusual pointer cast */ 
  • trunk/source/eden_sum.cpp

    r1771 r1960  
    167167                if( trace.lgNeBug ) 
    168168                { 
    169                         /*lint -e771 conceivably not initialized */ 
    170169                        for(nelem=ipHYDROGEN; nelem < LIMELM; nelem++) 
    171170                        { 
     
    190189                                        fprintf( ioQQQ, "\n      " );*/ 
    191190                        } 
    192                         /*lint +e771 conceivably not initialized */ 
    193191                } 
    194192        } 
  • trunk/source/grains.cpp

    r1817 r1960  
    235235STATIC double GrnVryDpth(long); 
    236236 
    237 /*lint -e661 possible access of out-of-bounds pointer */ 
    238 /*lint -e662 creation of out of bounds pointer */ 
    239  
    240237/* >>chng 01 oct 29, introduced gv.bin[nd]->cnv_H_pGR, cnv_GR_pH, etc. PvH */ 
    241238 
     
    51095106        return GrnVryDpth_v; 
    51105107} 
    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  
    1414#include "grainvar.h" 
    1515#include "grains.h" 
    16 /*lint -e817 Conceivably negative subscript*/ 
    17 /*lint -e661 possible access of out-of-bounds pointer */ 
    1816 
    1917#define NO_ATOMS(ND) (gv.bin[ND]->AvVol*gv.bin[ND]->dustp[0]/ATOMIC_MASS_UNIT/gv.bin[ND]->atomWeight) 
     
    25782576        return (double)n*res; 
    25792577} 
    2580 /*lint +e817 Conceivably negative subscript*/ 
    2581 /*lint +e661 possible access of out-of-bounds pointer */ 
  • trunk/source/heat_punch.cpp

    r1771 r1960  
    319319                j = jpsave[ip]; 
    320320                ASSERT( i<LIMELM && j<LIMELM ); 
    321                 /*lint -e662 out of bounds array index */ 
    322321                if(k > 4 && thermal.heating[i][j]/heat_total < punch.WeakHeatCool) 
    323322                        break; 
    324                 /*lint +e662 out of bounds array index */ 
    325323                fprintf( io, "\t%s\t%.7f ",  
    326324                        chLabel[ip], save[ip] ); 
  • trunk/source/heat_sum.cpp

    r1822 r1960  
    2424/* this is the faintest relative heating we will print */ 
    2525static 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 */ 
    2926 
    3027static const bool PRT_DERIV = false; 
     
    901898        return; 
    902899} 
    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  
    1010#include "conv.h" 
    1111#include "dense.h" 
    12 #include "heavy.h" 
    1312#include "helike.h" 
    1413#include "helike_cs.h" 
    1514#include "hydro_vs_rates.h" 
    16 #include "ionbal.h" 
    1715#include "iso.h" 
    1816#include "opacity.h" 
  • trunk/source/helike_einsta.cpp

    r1933 r1960  
    2121#include "helike_einsta.h" 
    2222#include "hydroeinsta.h" 
    23  
    24 /*lint -e662 creation of  out of bound pointer */ 
    25 /*lint -e661 creation of  out of bound pointer */ 
    2623 
    2724/* the array of transitions probabilities read from data file.  */ 
     
    512509                                else if( lHi>=2 && lLo>=2 && nHi>nLo ) 
    513510                                { 
    514                                         /*lint -e790 integral to float */ 
    515511                                        Aul = H_Einstein_A(nHi ,lHi , nLo , lLo , nelem); 
    516                                         /*lint +e790 integral to float */ 
    517512                                        ASSERT( Aul > 0.); 
    518513 
     
    724719                                else if( (nHi > nLo) && ((lHi > 2) || (lLo > 2)) ) 
    725720                                { 
    726                                         /*lint -e790 integral to float */ 
    727721                                        Aul = H_Einstein_A(nHi ,lHi , nLo , lLo , nelem); 
    728                                         /*lint +e790 integral to float */ 
    729722                                        ASSERT( Aul > 0.); 
    730723                                } 
     
    12031196        return; 
    12041197} 
    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  
    2626#include "opacity.h" 
    2727#include "atmdat.h" 
    28  
    29 /*lint -e662 creation of  out of bound pointer */ 
    30 /*lint -e661 creation of  out of bound pointer */ 
    3128 
    3229/* The three of these are used in the computation of Recomb_Seaton59    */ 
     
    21962193        return Integrand; 
    21972194} 
    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  
    99#include "magnetic.h" 
    1010#include "hextra.h" 
    11 #include "hmi.h" 
    1211#include "thermal.h" 
    1312#include "dense.h" 
  • trunk/source/hydrolevel.cpp

    r1732 r1960  
    1313#include "ionbal.h" 
    1414#include "hydrogenic.h" 
    15 /*lint -e661 Possible access of out-of-bounds pointer*/ 
    16 /*lint -e662 Possible access of out-of-bounds pointer*/ 
    1715 
    1816/*PrtHydroTrace1a print trace info for hydrogen-like species */ 
     
    392390        return; 
    393391} 
    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  
    1313#include "phycon.h" 
    1414#include "hydrogenic.h" 
    15 /*lint -e662 out of bounds pointer */ 
    1615 
    1716void HydroT2Low( long int ipISO, long int nelem ) 
     
    181180        return; 
    182181} 
    183 /*lint +e662 out of bounds pointer */ 
  • trunk/source/hydro_bauman.cpp

    r1919 r1960  
    3434typedef struct t_mxq mxq; 
    3535 
    36 /*lint -e790 integral to float */ 
    3736/************************************************************************************************/ 
    3837/*    these routines were written by Robert Bauman                                              */ 
     
    44454444        return partsum; 
    44464445} 
    4447 /*lint +e790 integral to float */ 
  • trunk/source/hydro_recom.cpp

    r1732 r1960  
    1515#include "opacity.h" 
    1616#include "atmdat.h" 
    17  
    18 /*lint -e662 creation of  out of bound pointer */ 
    19 /*lint -e661 creation of  out of bound pointer */ 
    2017 
    2118static double RecomInt(double EE); 
     
    121118        return x1; 
    122119} 
    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  
    1111#include "phycon.h" 
    1212#include "physconst.h" 
    13 #include "hydrooscilstr.h" 
    1413#include "iso.h" 
    1514#include "hydro_vs_rates.h" 
  • trunk/source/ion_carbo.cpp

    r1732 r1960  
    7878 
    7979        /* get recombination coefficients */ 
    80         /*lint -e740 unusual pointer cast */ 
    8180        /*lint -e64 double = pointer */ 
    8281        ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipCARBON); 
     
    147146        } 
    148147        return; 
    149         /*lint +e740 unusual pointer cast */ 
    150148} 
  • trunk/source/ion_nitro.cpp

    r1732 r1960  
    5050 
    5151        /* get recombination coefficients */ 
    52         /*lint -e740 unusual pointer casts */ 
    5352        /*lint -e64 type mismatch */ 
    5453        ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipNITROGEN); 
    55         /*lint +e740 unusual pointer casts */ 
    5654        /*lint +e64 type mismatch */ 
    5755 
  • trunk/source/ion_oxyge.cpp

    r1732 r1960  
    6666 
    6767        /* get recombination coefficients */ 
    68         /*lint -e740 unusual pointer cast */ 
    6968        /*lint -e64 type mismatch */ 
    7069        ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipOXYGEN); 
     
    234233        return; 
    235234} 
    236 /*lint +e740 unusual pointer cast */ 
  • trunk/source/ion_recomb.cpp

    r1732 r1960  
    11/* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and 
    22 * others.  For conditions of distribution and use see copyright notice in license.txt */ 
    3 /*lint -e817 PCLint generates tons of bogus nelem < 0 warnings*/ 
    43/*ion_recomb generate recombination coefficients for any species */ 
    54/*ion_recombAGN generate recombination coefficients for AGN table */ 
     
    610609        return; 
    611610} 
    612 /*lint +e817 pclint generates tons of bogus nelem < 0 warnings*/ 
  • trunk/source/ion_silic.cpp

    r1952 r1960  
    33/*IonSilic determine ionization balance of Silicon */ 
    44#include "cddefines.h" 
    5 #include "trace.h" 
    65#include "dense.h" 
    7 #include "sil.h" 
    86#include "ionbal.h" 
    97 
     
    7472 
    7573        /* get recombination coefficients */ 
    76         /*lint -e740 unusual pointer cast */ 
    7774        /*lint -e64 type mismatch */ 
    7875        ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipSILICON); 
    79         /*lint +e740 unusual pointer cast */ 
    8076        /*lint +e64 type mismatch */ 
    8177 
  • trunk/source/ion_solver.cpp

    r1803 r1960  
    415415                                        /* only used for possible printout - multiple electron Auger rate  - 
    416416                                         * do not count one-electron as Auger */ 
    417                                         /*lint -e771 not init */ 
    418417                                        if( nej>1 ) 
    419418                                                auger[IonProduced-1] += rateone; 
    420                                         /*lint +e771 not init */ 
    421419                                } 
    422420                        } 
  • trunk/source/ion_sulph.cpp

    r1732 r1960  
    5454 
    5555        /* get recombination coefficients */ 
    56         /*lint -e740 unusual pointer cast */ 
    5756        /*lint -e64 type mismatch */ 
    5857        ion_recomb(false,(const double*)dicoef,(const double*)dite,ditcrt,aa,bb,cc,dd,ff,ipSULPHUR); 
    59         /*lint +e740 unusual pointer cast */ 
    6058        /*lint +e64 type mismatch */ 
    6159 
  • trunk/source/ion_trim.cpp

    r1732 r1960  
    1616#include "struc.h" 
    1717#include "ionbal.h" 
    18 /*lint -e661 Possible access of out-of-bounds pointer*/ 
    1918 
    2019void ion_trim( 
     
    432431        return; 
    433432} 
    434 /*lint +e661 Possible access of out-of-bounds pointer*/ 
  • trunk/source/iso_cool.cpp

    r1951 r1960  
    1212#include "cooling.h" 
    1313#include "iso.h" 
    14 /*lint -e661 Possible access of out-of-bounds pointer*/ 
    15 /*lint -e662  (Warning -- Possible creation of out-of-bounds pointer  */ 
    1614 
    1715/* HP cc cannot compile this routine with any optimization */  
     
    701699#pragma OPTIMIZE ON 
    702700#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  
    2424#include "trace.h" 
    2525 
    26 /*lint -e662 Possible access of out-of-bounds pointer*/ 
    27 /*===================================================================================*/ 
    2826/* solve for level populations  */ 
    2927void iso_level( const long int ipISO, const long int nelem) 
     
    666664        return; 
    667665} 
    668 /*lint +e662 Possible access of out-of-bounds pointer*/ 
  • trunk/source/iso_photo.cpp

    r1925 r1960  
    1111#include "gammas.h" 
    1212#include "iso.h" 
    13 /*lint -e661 Possible access of out-of-bounds pointer*/ 
    14 /*lint -e662 (Warning -- Possible creation of out-of-bounds pointer  */ 
    1513 
    1614void iso_photo( 
     
    183181        return; 
    184182} 
    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  
    2222#include "trace.h" 
    2323 
    24 /*lint -e662 creation of  out of bound pointer */ 
    25 /*lint -e661 creation of  out of bound pointer */ 
    26  
    2724/* iso_solve main routine to call iso_level and determine iso level balances */ 
    2825void iso_solve(long ipISO) 
     
    589586        return; 
    590587} 
    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  
    839839                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"); 
    840840                fprintf(ioQQQ,"Sorry.\n"); 
    841                 cdEXIT(EXIT_FAILURE);; 
     841                cdEXIT(EXIT_FAILURE); 
    842842        } 
    843843 
  • trunk/source/mole_co_solve.cpp

    r1771 r1960  
    398398        merror = 0; 
    399399 
    400         /*lint -e740 unusual pointer case */ 
    401400        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);*/ 
    403401 
    404402        if( merror != 0 ) 
     
    409407 
    410408        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 */ 
    412409 
    413410        if( merror != 0 ) 
  • trunk/source/mole_h2.cpp

    r1811 r1960  
    23382338                h2.para_density = 0.; 
    23392339                H2_den_s = 0.; 
    2340                 H2_den_g = 0.;; 
     2340                H2_den_g = 0.; 
    23412341 
    23422342                for( iVibHi=0; iVibHi<=h2.nVib_hi[iElecHi]; ++iVibHi ) 
     
    24232423                /* begin check on whether solution is converged */ 
    24242424                lgConv_h2_soln = true; 
    2425                 lgPopsConv_total = true;; 
    2426                 lgPopsConv_relative = true;; 
     2425                lgPopsConv_total = true; 
     2426                lgPopsConv_relative = true; 
    24272427                lgHeatConv = true; 
    24282428                lgSolomonConv = true; 
     
    30563056        return; 
    30573057} 
    3058 /*lint -e668 possible bad pointer */ 
    30593058/*lint -e802 possible bad pointer */ 
    30603059 
     
    37333732        return; 
    37343733} 
    3735 /*lint +e668 possible bad pointer */ 
    37363734/*lint +e802 possible bad pointer */ 
    37373735 
  • trunk/source/mole_h2_io.cpp

    r1885 r1960  
    3939#include "cddrive.h" 
    4040#include "mole.h" 
    41 /*lint -e662 possible access of out-of-bounds pointer */ 
    4241 
    4342/* this will say whether ortho or para, 
     
    22182217                        H2Lines[1][1][1][0][iVib][iRot].Emis->pump, 
    22192218                        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); 
    22212220        } 
    22222221        return; 
     
    22982297        return 1; 
    22992298} 
    2300  
    2301 /*lint +e662 possible access of out-of-bounds pointer */ 
  • trunk/source/optimize_subplx.cpp

    r1732 r1960  
    2323 
    2424/*lint -e801 goto is deprecated */ 
    25 /*lint -e740 unusual pointer casts */ 
    2625/*lint -e64 type mismatch */ 
    2726/********************************************************************* 
     
    20882087} 
    20892088/*lint +e801 goto is deprecated */ 
    2090 /*lint +e740 unusual pointer casts */ 
    20912089/*lint +e64 type mismatch */ 
  • trunk/source/parse_commands.cpp

    r1948 r1960  
    3636#include "conv.h" 
    3737#include "parse.h" 
    38 /*lint -e661 creation of  out of bound pointer */ 
    3938 
    4039void ParseCommands(void) 
     
    21292128        return; 
    21302129} 
    2131 /*lint +e661 creation of  out of bound pointer */ 
  • trunk/source/parse_crashdo.cpp

    r1771 r1960  
    207207 
    208208                /* must turn off PCLint detection of logical errors in this block */ 
    209                 /*lint -e662 out of bounds*/ 
    210                 /*lint -e661 out of bounds*/ 
    211209                if( nMatch("STAT",chCard) ) 
    212210                { 
     
    281279                        fflush(ioQQQ); 
    282280                } 
    283                 /*lint +e662 out of bounds*/ 
    284                 /*lint +e661 out of bounds*/ 
    285281                lgCrash = true; 
    286282        } 
  • trunk/source/parse_element.cpp

    r1771 r1960  
    1212#include "elementnames.h" 
    1313#include "parse.h" 
    14 /*lint -e661 creation of  out of bound pointer */ 
    15 /*lint -e817 Conceivably negative subscript */ 
    1614 
    1715void ParseElement(char *chCard ) 
     
    513511        return; 
    514512} 
    515 /*lint +e661 creation of  out of bound pointer */ 
    516 /*lint +e817 Conceivably negative subscript */ 
  • trunk/source/pressure_total.cpp

    r1854 r1960  
    2727#include "rt.h" 
    2828#include "atmdat.h" 
    29 #include "heavy.h" 
    3029#include "lines_service.h" 
    3130#include "pressure.h" 
  • trunk/source/prt_final.cpp

    r1894 r1960  
    66/*gett2 analyze computed structure to get structural t^2 */ 
    77#include "cddefines.h" 
    8 #include "utilitymacros.h" 
    98#include "iso.h" 
    109#include "cddrive.h" 
  • trunk/source/prt_linepres.cpp