IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17642


Ignore:
Timestamp:
May 12, 2008, 1:44:38 PM (18 years ago)
Author:
Paul Price
Message:

Fixing additional SEGV.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r17636 r17642  
    445445#ifndef PS_NO_TRACE
    446446            {
    447                 pmReadout *ro = readouts->data[0];
     447                pmReadout *ro = NULL;   // Representative readout
     448                for (int i = 0; i < num && !ro; i++) {
     449                    ro = readouts->data[i];
     450                }
     451                psAssert(ro, "There should be a readout here.");
    448452                psTrace("ppStack", 4, "Stack: [%d:%d,%d:%d]\n", ro->col0, ro->col0 + ro->image->numCols,
    449453                        ro->row0, ro->row0 + ro->image->numRows);
Note: See TracChangeset for help on using the changeset viewer.