Changeset 373


Ignore:
Timestamp:
04/13/2011 12:41:28 PM (12 years ago)
Author:
marcus
Message:

r204 | klaus | 2011-04-12 15:06:41 +0200 (Di, 12 Apr 2011) | 1 line

fixed bug with initialised variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/shmenux.c

    r16 r373  
    13471347        SAMPLE   rms;                    /* sum of samples */ 
    13481348        SAMPLE   *dat;                   /* data pointer */ 
    1349         BOOLEAN  mean;                   /* compute mean */ 
    13501349        char     symbol[BC_LINELTH+1];   /* symbol name */ 
    13511350        char     str[BC_LINELTH+1];      /* scratch string */ 
     
    13791378                rms += dat[i]*dat[i]; 
    13801379 
    1381         if  (mean) 
    1382                 rms = sqrt(rms / (SAMPLE)(hiidx-loidx+1) ); 
     1380        rms = sqrt(rms / (SAMPLE)(hiidx-loidx+1) ); 
    13831381 
    13841382        if  (cp_pentered(par,4,status))  { 
Note: See TracChangeset for help on using the changeset viewer.