IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11618 for trunk/psLib/src/sys


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

fixed un-inits

Location:
trunk/psLib/src/sys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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.