aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-09-12 11:10:17 -0700
committerGarrett D'Amore <garrett@damore.org>2018-09-12 12:49:57 -0700
commit74b067f6c381567e3da89e8a95ca13b4ffe81302 (patch)
tree92408253690030aade8246e1fd3a615fc2d4daea /src
parent1077acf7c81d9d1e0f0b89479de15d9ce4cf89da (diff)
downloadnng-74b067f6c381567e3da89e8a95ca13b4ffe81302.tar.gz
nng-74b067f6c381567e3da89e8a95ca13b4ffe81302.tar.bz2
nng-74b067f6c381567e3da89e8a95ca13b4ffe81302.zip
fixes #721 stale #if 0 block in stats.h
Diffstat (limited to 'src')
-rw-r--r--src/core/stats.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/stats.h b/src/core/stats.h
index 8cfe14de..152ba01f 100644
--- a/src/core/stats.h
+++ b/src/core/stats.h
@@ -85,23 +85,6 @@ void nni_stat_set_unit(nni_stat_item *, int);
#define nni_stat_dec_atomic(stat, inc)
#endif
-#if 0
-#define nni_stat_append(a, b)
-#define nni_stat_remove(a)
-#define nni_stat_init(a, b, c)
-#define nni_stat_init_scope(a, b, c)
-#define nni_stat_init_string(a, b, c, d)
-#define nni_stat_init_id(a, b, c, d)
-#define nni_stat_init_bool(a, b, c, d)
-#define nni_stat_dec_atomic(a, b)
-#define nni_stat_set_value(a, b)
-#define nni_stat_set_string(a, b)
-#define nni_stat_set_lock(a, b)
-#define nni_stat_set_update(a, b, c)
-#define nni_stat_set_type(a, b)
-#define nni_stat_set_unit(a, b)
-#endif
-
int nni_stat_sys_init(void);
void nni_stat_sys_fini(void);