projects
/
platform
/
upstream
/
libphonenumber.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean compile with CMAKE_BUILD_TYPE=RELEASE
[platform/upstream/libphonenumber.git]
/
cpp
/
src
/
phonenumbers
/
base
/
logging.h
diff --git
a/cpp/src/phonenumbers/base/logging.h
b/cpp/src/phonenumbers/base/logging.h
index
47c6cee
..
1463e6f
100644
(file)
--- a/
cpp/src/phonenumbers/base/logging.h
+++ b/
cpp/src/phonenumbers/base/logging.h
@@
-38,4
+38,8
@@
template <typename T> T* CHECK_NOTNULL(T* ptr) {
return ptr;
}
+#if !defined(IGNORE_UNUSED)
+#define IGNORE_UNUSED(X) (void)(X)
+#endif
+
#endif // I18N_PHONENUMBERS_BASE_LOGGING_H_