X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_update.c;h=c842b9bdaeb342d5d8f2f6fed8719d3e91155104;hb=9f7c295af3d1743b9b9ee2b0e536384c27844473;hp=01e756d1e9bfe0a9930ac9e13f554cee05318356;hpb=173e96852970c7fc2b3b872c584a26109ea0165d;p=rrdtool.git diff --git a/src/rrd_update.c b/src/rrd_update.c index 01e756d..c842b9b 100644 --- a/src/rrd_update.c +++ b/src/rrd_update.c @@ -1745,8 +1745,14 @@ static rrd_value_t calculate_cdp_val( rrd_value_t pdp_temp_val, unsigned long elapsed_pdp_st, int current_cf, +#ifdef DEBUG int i, - int ii) + int ii +#else + int UNUSED(i), + int UNUSED(ii) +#endif + ) { if (isnan(cdp_val)) { if (current_cf == CF_AVERAGE) {