ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 9338
This commit is contained in:
parent
52ac2ac65f
commit
6f88c74d19
@ -99,11 +99,9 @@ UnicodeString& _escape(const UnicodeString &source,
|
||||
}
|
||||
return target;
|
||||
}
|
||||
#endif
|
||||
|
||||
inline void _debugOut(const char* msg, TransliterationRule* rule,
|
||||
const Replaceable& theText, UTransPosition& pos) {
|
||||
#ifdef DEBUG_RBT
|
||||
UnicodeString buf(msg, "");
|
||||
if (rule) {
|
||||
UnicodeString r;
|
||||
@ -117,9 +115,12 @@ inline void _debugOut(const char* msg, TransliterationRule* rule,
|
||||
_escape(buf, esc);
|
||||
CharString cbuf(esc);
|
||||
printf("%s\n", (char*) cbuf);
|
||||
#endif
|
||||
}
|
||||
|
||||
#else
|
||||
#define _debugOut(msg, rule, theText, pos)
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// END Debugging support
|
||||
//----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user