8304674: File java.c compile error with -fsanitize=address -O0

Reviewed-by: ihse, jwaters
This commit is contained in:
SendaoYan 2025-04-02 08:26:22 +00:00
parent 8fb67ac55b
commit 9076673d7d

View File

@ -666,7 +666,14 @@ JavaMain(void* _args)
ret = 1;
}
LEAVE();
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wreturn-type"
#endif
}
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif
/*
* Test if the given name is one of the class path options.