IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42773


Ignore:
Timestamp:
Dec 29, 2024, 3:58:01 PM (19 months ago)
Author:
eugene
Message:

trap format error as an assert; clarify comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-ppmerge-20241229/psModules/src/camera/pmFPAConstruct.c

    r41892 r42773  
    8383    while ((value = psListGetAndIncrement(valuesIter))) {
    8484        psArray *fst = psStringSplitArray(value, ":", true); // First, second, third
     85        assert (numArrays == fst->n);
    8586        switch (numArrays) {
    8687          case 3:
     
    11261127    pmFPAview *view = pmFPAviewAlloc(0); // View, to be returned
    11271128    if (phuView) {
    1128         // Copy the view, for the case where we're given a view.
     1129        // Copy the view values, for the case where we're given a view.
    11291130        *view = *phuView;
    11301131    }
Note: See TracChangeset for help on using the changeset viewer.