commit | 30dcad775deba8134cbbcb93a9b15412f9b1d2a0 | [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 | 96f907bb0a6a25437931b3a5b33dfd5cbf38801e | |
parent | 9134cef492888bb8d7da49331fd9bea3c59075d5 [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