ICU-6132 Fix compiler warnings from last check-in.
X-SVN-Rev: 23438
This commit is contained in:
parent
2a483025d9
commit
a137ec8cce
@ -198,25 +198,23 @@ ubidi_closeProps(UBiDiProps *bdp) {
|
||||
|
||||
/* UBiDiProps singleton ----------------------------------------------------- */
|
||||
|
||||
static UBiDiProps *gBdpDummy=NULL;
|
||||
#if !UBIDI_HARDCODE_DATA
|
||||
static UBiDiProps *gBdpDummy=NULL;
|
||||
static UBiDiProps *gBdp=NULL;
|
||||
static UErrorCode gErrorCode=U_ZERO_ERROR;
|
||||
static int8_t gHaveData=0;
|
||||
#endif
|
||||
|
||||
static UBool U_CALLCONV
|
||||
ubidi_cleanup(void) {
|
||||
ubidi_closeProps(gBdpDummy);
|
||||
gBdpDummy=NULL;
|
||||
#if !UBIDI_HARDCODE_DATA
|
||||
ubidi_closeProps(gBdp);
|
||||
gBdp=NULL;
|
||||
gErrorCode=U_ZERO_ERROR;
|
||||
gHaveData=0;
|
||||
#endif
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
U_CFUNC const UBiDiProps *
|
||||
ubidi_getSingleton(UErrorCode *pErrorCode) {
|
||||
|
Loading…
Reference in New Issue
Block a user