]> granicus.if.org Git - icu/commitdiff
ICU-11538 Remove gHeapInUse flag.
authorAndy Heninger <andy.heninger@gmail.com>
Wed, 4 Mar 2015 00:30:38 +0000 (00:30 +0000)
committerAndy Heninger <andy.heninger@gmail.com>
Wed, 4 Mar 2015 00:30:38 +0000 (00:30 +0000)
X-SVN-Rev: 37119

icu4c/source/common/cmemory.c

index 232ac300d0f76d2eba20d25c747f4e063ff7679f..42885f202e8a60e0f08c4820666606d910be1150 100644 (file)
@@ -33,10 +33,6 @@ static UMemAllocFn    *pAlloc;
 static UMemReallocFn  *pRealloc;
 static UMemFreeFn     *pFree;
 
-/* Flag indicating whether any heap allocations have happened.
- *   Used to prevent changing out the heap functions after allocations have been made */
-static UBool   gHeapInUse;
-
 #if U_DEBUG && defined(UPRV_MALLOC_COUNT)
 #include <stdio.h>
 static int n=0;