[bugfix](compile error) unused variables compile error (#34509)

* [bugfix](compile error) unused variables compile error

* f

---------

Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
yiguolei
2024-05-08 14:07:30 +08:00
committed by yiguolei
parent 082216496e
commit 7b22c94255

View File

@ -361,7 +361,9 @@ public:
void check_init() {
//the signal value is 0, it means the global error states not inited, it's logical error
// DO NOT use dcheck here, because dcheck depend on glog, and glog maybe not inited at this time.
assert(signal_value != 0);
if (signal_value == 0) {
exit(-1);
}
}
private: