ICU-6132 Fix compiler warnings from last check-in.

X-SVN-Rev: 23438
This commit is contained in:
George Rhoten 2008-02-15 23:56:06 +00:00
parent 2a483025d9
commit a137ec8cce

View File

@ -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) {