[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:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user