Unhandled cases in switch statement

git-svn-id: svn://10.0.0.236/trunk@10123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mcafee%netscape.com 1998-09-16 06:57:28 +00:00
parent d688a6f0a0
commit 9230756830
2 changed files with 8 additions and 2 deletions

View File

@ -1469,8 +1469,11 @@ static XP_Bool pref_ValueChanged(PrefValue oldValue, PrefValue newValue, PrefTyp
break;
case PREF_BOOL:
changed = oldValue.boolVal != newValue.boolVal;
changed = oldValue.boolVal != newValue.boolVal;
break;
default:
/* PREF_LOCKED, PREF_USERSET, PREF_CONFIG, PREF_LILOCAL */
break;
}
return changed;
}

View File

@ -1469,8 +1469,11 @@ static XP_Bool pref_ValueChanged(PrefValue oldValue, PrefValue newValue, PrefTyp
break;
case PREF_BOOL:
changed = oldValue.boolVal != newValue.boolVal;
changed = oldValue.boolVal != newValue.boolVal;
break;
default:
/* PREF_LOCKED, PREF_USERSET, PREF_CONFIG, PREF_LILOCAL */
break;
}
return changed;
}