cvsuser     01/10/08 00:10:41

  Modified:    .        memory.c
  Log:
  Fixed uninitialized variables.
  
  Courtesy of: Bryan C. Warnock <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.13      +3 -3      parrot/memory.c
  
  Index: memory.c
  ===================================================================
  RCS file: /home/perlcvs/parrot/memory.c,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -w -r1.12 -r1.13
  --- memory.c  2001/10/06 00:57:43     1.12
  +++ memory.c  2001/10/08 07:10:41     1.13
  @@ -1,7 +1,7 @@
   /* memory.c
    *  Copyright: (When this is determined...it will go here)
    *  CVS Info
  - *     $Id: memory.c,v 1.12 2001/10/06 00:57:43 thgibbs Exp $
  + *     $Id: memory.c,v 1.13 2001/10/08 07:10:41 thgibbs Exp $
    *  Overview:
    *     The memory (mem) API handles memory allocation
    *  Data Structure and Algorithms:
  @@ -40,8 +40,8 @@
   */
   void *
   mem_allocate_aligned(INTVAL size) {
  -    ptrcast_t max_to_alloc;
  -    ptrcast_t mask;
  +    ptrcast_t max_to_alloc = 0;
  +    ptrcast_t mask = 0;
       ptrcast_t i;
       void *mem = NULL;
       
  
  
  


Reply via email to