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:
parent
d688a6f0a0
commit
9230756830
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user