projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not reset the last_ds store unless the data source type is actually changed.
[rrdtool.git]
/
src
/
rrd_update.c
diff --git
a/src/rrd_update.c
b/src/rrd_update.c
index
01e756d
..
c5bd1bf
100644
(file)
--- 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) {