Commit 0ab0ce1a authored by dagal's avatar dagal
Browse files

I'm so fucking smart that I depend on asserts on release

parent 74fc29c5
......@@ -73,7 +73,8 @@ ZSTDArray::ZSTDArray(const std::vector< std::vector<uint32_t> > *initialTimes, c
std::cerr << "OK" << std::endl;
#endif
assert(pthread_mutex_init(&d_stream_lock, NULL) == 0);
const int mutexErr = pthread_mutex_init(&d_stream_lock, NULL);
assert(mutexErr == 0);
}
ZSTDArray::~ZSTDArray() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment