Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/plugins/ r=jimm
MozReview-Commit-ID: Bp1M9LW77Ia
This commit is contained in:
@@ -1115,10 +1115,9 @@ _getvalue(NPP aNPP,
|
||||
case NPNVxDisplay: {
|
||||
if (aNPP) {
|
||||
return InstCast(aNPP)->NPN_GetValue(aVariable, aValue);
|
||||
}
|
||||
else {
|
||||
*(void **)aValue = xt_client_get_display();
|
||||
}
|
||||
}
|
||||
*(void
|
||||
**)aValue = xt_client_get_display();
|
||||
return NPERR_NO_ERROR;
|
||||
}
|
||||
case NPNVxtAppContext:
|
||||
|
||||
Reference in New Issue
Block a user