IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19955


Ignore:
Timestamp:
Oct 7, 2008, 10:22:40 AM (18 years ago)
Author:
eugene
Message:

fix compile-time bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsFromMetadataStats.c

    r19944 r19955  
    55
    66    double value;
     7    psStats *stats = NULL;
    78
    89    for (int i = 0; i < entries->n; i++) {
     
    3536       
    3637    got_stats:
    37         psStats *stats = psStatsAlloc (option);
     38        stats = psStatsAlloc (option);
    3839
    3940        psVectorStats (stats, entry->vector, NULL, NULL, 0);
     
    5556            goto got_value;
    5657        }
    57 
    58         double value = psStatsGetValue (stats, option);
     58        value = psStatsGetValue (stats, option);
    5959
    6060    got_value:
Note: See TracChangeset for help on using the changeset viewer.