IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11618


Ignore:
Timestamp:
Feb 2, 2007, 8:01:42 PM (19 years ago)
Author:
magnier
Message:

fixed un-inits

Location:
trunk/psLib/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.c

    r11616 r11618  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.131 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2007-02-03 05:35:30 $
     12*  @version $Revision: 1.132 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2007-02-03 06:01:42 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    531531    psF64  theta = 0.0;
    532532    psF64  phi   = 0.0;
    533     psF64  x, y, R;
     533    psF64  x = 0, y = 0, R = 0;
    534534
    535535    psProjectionClass class = PS_PROJ_NONE;
  • trunk/psLib/src/astro/psEarthOrientation.c

    r10999 r11618  
    88 *  @author Robert Daniel DeSonia, MHPCC
    99 *
    10  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2007-01-09 22:38:52 $
     10 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2007-02-03 06:01:42 $
    1212 *
    1313 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    10561056           SEC_TO_RAD(0.00001149)*t4;
    10571057
    1058     // L − Omega    (L = Mean Longitude of the Moon, Omega = F4)
     1058    // L âˆ’ Omega    (L = Mean Longitude of the Moon, Omega = F4)
    10591059    F[2] = DEG_TO_RAD(93.27209062) +
    10601060           SEC_TO_RAD(1739527262.8478)*t -
     
    11751175
    11761176    //Implementation adapted from PM_GRAVI in interp.f from hpiers.obspm.fr/eop-pc/models/interp.f
    1177     double arg[6];
     1177    double arg[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0};
    11781178    arg[0] = (67310.54841 +
    11791179              (876600.0*3600.0 + 8640184.812866)*t
  • trunk/psLib/src/sys/psLine.c

    r11617 r11618  
    99#include "psConstants.h"
    1010#include "psLine.h"
     11#include "psString.h"
    1112#include "psMemory.h"
    1213
  • trunk/psLib/src/sys/psLine.h

    r11248 r11618  
    99 *  @author David Robbins, MHPCC
    1010 *
    11  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2007-01-23 22:47:23 $
     11 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2007-02-03 06:01:42 $
    1313 *
    1414 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2020/// @addtogroup SysUtils System Utilities
    2121/// @{
    22 
    23 #include "psString.h"
    2422
    2523/** Structure to carry a dynamic string */
  • trunk/psLib/src/sys/psString.c

    r11617 r11618  
    1313 *  @author David Robbins, MHPCC
    1414 *
    15  *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2007-02-03 05:54:08 $
     15 *  @version $Revision: 1.50 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2007-02-03 06:01:42 $
    1717 *
    1818 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    118118    PS_ASSERT_PTR_NON_NULL(format, 0);
    119119
    120     size_t          length;             // complete string length (sans \0)
    121     size_t          oldLength;          // original string length (sans \0)
    122     ssize_t         tailLength;         // length of string to append
     120    size_t          length = 0;             // complete string length (sans \0)
     121    size_t          oldLength = 0;          // original string length (sans \0)
     122    ssize_t         tailLength = 0;         // length of string to append
    123123
    124124    if (*dest) {
Note: See TracChangeset for help on using the changeset viewer.