зеркало из https://github.com/mozilla/gecko-dev.git
Fix compiler warnings b=287540 p=gautheri@noos.fr r=smontagu sr=blizzard
This commit is contained in:
Родитель
e5fb3daccc
Коммит
76a5d24b8f
|
@ -126,8 +126,6 @@ nsLanguageAtomService::LookupLanguage(const nsAString &aLanguage,
|
|||
already_AddRefed<nsIAtom>
|
||||
nsLanguageAtomService::LookupCharSet(const char *aCharSet, nsresult *aError)
|
||||
{
|
||||
nsresult res;
|
||||
|
||||
if (!mCharSets) {
|
||||
mCharSets = do_GetService(NS_CHARSETCONVERTERMANAGER_CONTRACTID);
|
||||
if (!mCharSets) {
|
||||
|
|
|
@ -213,7 +213,7 @@ nsUnicodeToTSCII::Convert(const PRUnichar * aSrc, PRInt32 * aSrcLength,
|
|||
}
|
||||
else if (last == TSC_KSSA) {
|
||||
if (ch == UNI_VIRAMA) {
|
||||
*dest++ = TSC_KSSA_DEAD;
|
||||
*dest++ = (char) TSC_KSSA_DEAD;
|
||||
mBuffer = 0;
|
||||
++src;
|
||||
continue;
|
||||
|
@ -246,14 +246,14 @@ nsUnicodeToTSCII::Convert(const PRUnichar * aSrc, PRInt32 * aSrcLength,
|
|||
else {
|
||||
NS_ASSERTION(last == 0xc38a, "No other value can be buffered");
|
||||
if (ch == UNI_VOWELSIGN_II) {
|
||||
*dest++ = TSC_SRII_LIGA;
|
||||
*dest++ = (char) TSC_SRII_LIGA;
|
||||
mBuffer = 0;
|
||||
++src;
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
// put back TSC_SA_DEAD and TSC_RA
|
||||
*dest++ = TSC_SA_DEAD;
|
||||
*dest++ = (char) TSC_SA_DEAD;
|
||||
mBuffer = TSC_RA;
|
||||
++src;
|
||||
continue;
|
||||
|
|
Загрузка…
Ссылка в новой задаче