commit | 8e5337de2c67c24f1e5c6144512e2a9ba9fefe12 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Oct 24 14:10:09 2014 -0700 |
committer | Chih-hung Hsieh <chh@google.com> | Fri Oct 31 18:38:00 2014 +0000 |
tree | 3a5175cd68520387f9c9e861bd70bfcf9eaabd7c | |
parent | cb8a9fcc56288378d05d80c55396db7981e3828d [diff] |
Avoid two warnings from clang. Clang compiler warns about undefined static functions like getReturnString before all references are removed inside IF_LOG_COMMANDS. To remove such warnings, we can leave those static functions defined and the compiler will remove them at the end when they are not used. Add a cast to long before converting from int to void*, to avoid type cast warnings on 64 bit targets. BUG: 17043248 Change-Id: Ica31101522279d2c8eacc90e2939767002fb827b