Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: source/common/sharedobject.cpp

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/sharedobject.h ('k') | source/common/simpleformatter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/sharedobject.cpp
diff --git a/source/common/sharedobject.cpp b/source/common/sharedobject.cpp
index e5e034bec13b9e2b447b6f30884ff84480fe0da7..8e5095e129255a1e6294263fdd0a19d79fb11964 100644
--- a/source/common/sharedobject.cpp
+++ b/source/common/sharedobject.cpp
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
* Copyright (C) 2015, International Business Machines
@@ -26,6 +28,7 @@ SharedObject::addRef(UBool fromWithinCache) const {
// cache global mutex is locked. In this way, we can be rest assured
// that data races can't happen if the cache performs some task if
// the hardRefCount is zero while the global cache mutex is locked.
+ (void)fromWithinCache; // Suppress unused variable warning in non-debug builds.
U_ASSERT(fromWithinCache);
cachePtr->incrementItemsInUse();
}
« no previous file with comments | « source/common/sharedobject.h ('k') | source/common/simpleformatter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698