Make error_message constant
Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
This commit is contained in:
parent
dda51e1c94
commit
852cde437f
@ -39,7 +39,7 @@ tensorflow::error::Code BuildRandomErrorCode(uint32_t code){
|
|||||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||||
tensorflow::error::Code error_code;
|
tensorflow::error::Code error_code;
|
||||||
|
|
||||||
std::string error_message = "ERROR";
|
const std::string error_message = "ERROR";
|
||||||
|
|
||||||
tensorflow::Status s, derived_s;
|
tensorflow::Status s, derived_s;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user