Changeset 4849

Show
Ignore:
Timestamp:
09/23/07 14:47:27 (6 years ago)
Author:
khali
Message:

Hide warnings about unused parameters.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/sensord/rrd.c

    r4834 r4849  
    186186rrdGetSensors_DS 
    187187(void *_data, const char *rawLabel, const char *label, const FeatureDescriptor *feature) { 
     188  (void) label; /* no warning */ 
    188189  if (!feature || feature->rrd) { 
    189190    struct ds *data = (struct ds *) _data; 
     
    288289(void *_data, const char *rawLabel, const char *label, const FeatureDescriptor *feature) { 
    289290  struct gr *data = (struct gr *) _data; 
     291  (void) label; /* no warning */ 
    290292  if (!feature || (feature->rrd && (feature->type == data->type))) 
    291293    printf ("\n\tDEF:%s=%s:%s:AVERAGE", rawLabel, rrdFile, rawLabel);