projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
c++: references cannot be NULL
[awesomized/libmemcached]
/
libtest
/
collection.cc
diff --git
a/libtest/collection.cc
b/libtest/collection.cc
index 86e7f864a922c4034cf29f32b1495d660be9bcd0..2f1cba317857353ed5b18a116958a8dd765f5f7c 100644
(file)
--- a/
libtest/collection.cc
+++ b/
libtest/collection.cc
@@
-51,6
+51,9
@@
static test_return_t runner_code(libtest::Framework* frame,
try
{
_timer.reset();
+ assert(frame);
+ assert(frame->runner());
+ assert(run->test_fn);
return_code= frame->runner()->main(run->test_fn, frame->creators_ptr());
}
// Special case where check for the testing of the exception