mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8014431: cleanup warnings indicated by the -Wunused-value compiler option on linux
Co-authored-by: Jeremy Manson <jeremymanson@google.com> Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
72a51a0c44
commit
53448fdbed
17 changed files with 52 additions and 31 deletions
|
@ -86,9 +86,9 @@ class StackMapTable;
|
|||
// These macros are used similarly to CHECK macros but also check
|
||||
// the status of the verifier and return if that has an error.
|
||||
#define CHECK_VERIFY(verifier) \
|
||||
CHECK); if ((verifier)->has_error()) return; (0
|
||||
CHECK); if ((verifier)->has_error()) return; ((void)0
|
||||
#define CHECK_VERIFY_(verifier, result) \
|
||||
CHECK_(result)); if ((verifier)->has_error()) return (result); (0
|
||||
CHECK_(result)); if ((verifier)->has_error()) return (result); ((void)0
|
||||
|
||||
class TypeOrigin VALUE_OBJ_CLASS_SPEC {
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue