ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 9338
This commit is contained in:
George Rhoten 2002-07-25 17:41:31 +00:00
parent 52ac2ac65f
commit 6f88c74d19

View File

@ -99,11 +99,9 @@ UnicodeString& _escape(const UnicodeString &source,
} }
return target; return target;
} }
#endif
inline void _debugOut(const char* msg, TransliterationRule* rule, inline void _debugOut(const char* msg, TransliterationRule* rule,
const Replaceable& theText, UTransPosition& pos) { const Replaceable& theText, UTransPosition& pos) {
#ifdef DEBUG_RBT
UnicodeString buf(msg, ""); UnicodeString buf(msg, "");
if (rule) { if (rule) {
UnicodeString r; UnicodeString r;
@ -117,9 +115,12 @@ inline void _debugOut(const char* msg, TransliterationRule* rule,
_escape(buf, esc); _escape(buf, esc);
CharString cbuf(esc); CharString cbuf(esc);
printf("%s\n", (char*) cbuf); printf("%s\n", (char*) cbuf);
#endif
} }
#else
#define _debugOut(msg, rule, theText, pos)
#endif
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// END Debugging support // END Debugging support
//---------------------------------------------------------------------- //----------------------------------------------------------------------