diff options
author | Roland Levillain <rpl@google.com> | 2015-08-26 18:34:03 +0100 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-10-15 12:22:39 -0700 |
commit | 4b8f1ecd3aa5a29ec1463ff88fee9db365f257dc (patch) | |
tree | d113f8a5c6b61c078256cf15c7cbb9f7c8de0390 /compiler/compiler.h | |
parent | 114873103db3d4d6e0da42ca02bad1ea8826443b (diff) |
Use ATTRIBUTE_UNUSED more.
Use it in lieu of UNUSED(), which had some incorrect uses.
Change-Id: If247dce58b72056f6eea84968e7196f0b5bef4da
Diffstat (limited to 'compiler/compiler.h')
-rw-r--r-- | compiler/compiler.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/compiler.h b/compiler/compiler.h index 9b4dbe02e2..8788dc1950 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -77,9 +77,8 @@ class Compiler { * information. * @note This is used for backtrace information in generated code. */ - virtual std::vector<uint8_t>* GetCallFrameInformationInitialization(const CompilerDriver& driver) - const { - UNUSED(driver); + virtual std::vector<uint8_t>* GetCallFrameInformationInitialization( + const CompilerDriver& driver ATTRIBUTE_UNUSED) const { return nullptr; } |