Changeset 7516


Ignore:
Timestamp:
06/28/18 21:56:06 (3 weeks ago)
Author:
baker
Message:

cleanup warning: variable set but not used [-Wunused-but-set-variable]

Location:
trunk/src/libsrc/lib330
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libsrc/lib330/libstats.c

    r3793 r7516  
    153153  enum tacctype acctype ; 
    154154  integer minute, last_minute, comeff_valids ; 
    155   longint total, sentdif, resdif, val, duty ; 
     155  longint total, sentdif, resdif, val ; 
    156156  paqstruc paqs ; 
    157157  taccmstat *paccm ; 
     
    173173    else 
    174174      q330->share.accmstats[AC_COMEFF].accum_ds = 0 ; 
    175   duty = q330->share.accmstats[AC_DUTY].accum_ds ; 
    176175  for (acctype = AC_FIRST ; acctype <= AC_LAST ; acctype++) 
    177176    begin 
  • trunk/src/libsrc/lib330/libstrucs.c

    r6895 r7516  
    495495  struct timeval timeout ; 
    496496#endif 
    497   integer res, err ; 
     497  integer res ; 
    498498  double now_, diff ; 
    499499  longint new_ten_sec ; 
     
    572572#endif 
    573573                        end 
    574                   end 
    575               else if (res < 0) 
    576                 then 
    577                   begin 
    578                     err = errno ; 
    579574                  end 
    580575            end 
Note: See TracChangeset for help on using the changeset viewer.