projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SNMP Agent plugin: Fix - not every OID is unregistered from snmp table
[collectd.git]
/
src
/
testing.h
diff --git
a/src/testing.h
b/src/testing.h
index
fed7619
..
5cf6955
100644
(file)
--- a/
src/testing.h
+++ b/
src/testing.h
@@
-29,8
+29,8
@@
#include <inttypes.h>
#include <inttypes.h>
-static int fail_count__
= 0
;
-static int check_count__
= 0
;
+static int fail_count__;
+static int check_count__;
#ifndef DBL_PRECISION
#define DBL_PRECISION 1e-12
#ifndef DBL_PRECISION
#define DBL_PRECISION 1e-12
@@
-56,7
+56,7
@@
static int check_count__ = 0;
#define OK1(cond, text) \
do { \
#define OK1(cond, text) \
do { \
- bool result = (cond); \
+ bool result = (cond);
\
LOG(result, text); \
if (!result) { \
return -1; \
LOG(result, text); \
if (!result) { \
return -1; \