ICU-4707 Fix some compiler warnings

X-SVN-Rev: 19638
This commit is contained in:
George Rhoten 2006-05-22 05:46:55 +00:00
parent a33e2d37a9
commit 09999a3f5e

View file

@ -232,7 +232,7 @@ public:
};
/*
// Document of class Escaper
//
// ATTENTION:
@ -302,6 +302,7 @@ public:
//
// It's a hard work to re-adjust generation opportunity for various escaping form.
// We just simply ignore it.
*/
class Escaper{
public:
enum CHOICE {YES, NO, RAND};
@ -515,7 +516,7 @@ class Variable : public Pick {
public:
Variable(SymbolTable * symbols, const char * varName, Pick * varRef = NULL){
this->var_name.append_array(varName, strlen(varName) + 1);
if (symbol_table = symbols){
if ((symbol_table = symbols)){
symbol_table->put(varName, varRef);
}
}
@ -1363,7 +1364,7 @@ const char *LanguageGenerator::next(){ // Return a null-terminated c-string. The
static UBool TestQuote(){
const char *const str = "This ' A !,z| qq [] .new\tline";
const char *const str_r = "This \\' A '!,'z'|' qq '[]' '.'new\tline";
//const char *const str_r = "This \\' A '!,'z'|' qq '[]' '.'new\tline";
////
//// :( we must quote our string to following C syntax
//// cannot type the literal here, it makes our code rather human unreadable