mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
forget to init result field
This commit is contained in:
parent
121cb2d089
commit
278dbe44f8
@ -20,7 +20,7 @@
|
||||
#include "logger.h"
|
||||
|
||||
void init_result(struct result *_result) {
|
||||
_result->error = SUCCESS;
|
||||
_result->result = _result->error = SUCCESS;
|
||||
_result->cpu_time = _result->real_time = _result->signal = _result->exit_code = 0;
|
||||
_result->memory = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user