[DTrace-devel] [PATCH] Clean up "defined but not used" compilation warning
eugene.loh at oracle.com
eugene.loh at oracle.com
Fri Jan 15 09:49:46 PST 2021
From: Eugene Loh <eugene.loh at oracle.com>
Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
---
libdtrace/dt_aggregate.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libdtrace/dt_aggregate.c b/libdtrace/dt_aggregate.c
index 972c19a3..a46f4b59 100644
--- a/libdtrace/dt_aggregate.c
+++ b/libdtrace/dt_aggregate.c
@@ -1,6 +1,6 @@
/*
* Oracle Linux DTrace.
- * Copyright (c) 2008, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
@@ -282,6 +282,7 @@ dt_aggregate_quantizedcmp(int64_t *lhs, int64_t *rhs)
return 0;
}
+#ifdef FIXME
static void
dt_aggregate_usym(dtrace_hdl_t *dtp, uint64_t *data)
{
@@ -382,6 +383,7 @@ dt_aggregate_mod(dtrace_hdl_t *dtp, uint64_t *addr)
}
}
}
+#endif
static dtrace_aggid_t
dt_aggregate_aggid(dt_ahashent_t *ent)
--
2.18.4
More information about the DTrace-devel
mailing list