Changeset 8296

Show
Ignore:
Timestamp:
04/29/08 22:36:05
Author:
eb
Message:

Potentially invalid read deferred until it's valid (Dan Halperin)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/trunk/gnuradio-core/src/lib/general/gr_complex_to_xxx.cc

    r6044 r8296  
    11/* -*- c++ -*- */ 
    22/* 
    3  * Copyright 2004 Free Software Foundation, Inc. 
     3 * Copyright 2004,2008 Free Software Foundation, Inc. 
    44 *  
    55 * This file is part of GNU Radio 
     
    5252  const gr_complex *in = (const gr_complex *) input_items[0]; 
    5353  float *out0 = (float *) output_items[0]; 
    54   float *out1 = (float *) output_items[1]
     54  float* out1
    5555  int noi = noutput_items * d_vlen; 
    5656 
     
    6363 
    6464  case 2: 
     65    out1 = (float *) output_items[1]; 
    6566    for (int i = 0; i < noi; i++){ 
    6667      out0[i] = in[i].real ();