Bug 507386 - Unintended semicolons at the end of if-statements. r=dietrich

This commit is contained in:
Blake Winton 2009-07-30 20:40:45 +02:00
Родитель c6f3f28a51
Коммит 46549979e9
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2055,7 +2055,7 @@ MicrosummaryResource.prototype = {
getService(Ci.nsICharsetResolver); getService(Ci.nsICharsetResolver);
if (resolver) { if (resolver) {
var charset = resolver.requestCharset(null, request.channel, {}, {}); var charset = resolver.requestCharset(null, request.channel, {}, {});
if (charset != ""); if (charset != "")
request.channel.contentCharset = charset; request.channel.contentCharset = charset;
} }
} }

Просмотреть файл

@ -154,7 +154,7 @@ PlacesController.prototype = {
var result = this._view.getResult(); var result = this._view.getResult();
if (result) { if (result) {
var container = asContainer(result.root); var container = asContainer(result.root);
if (container.containerOpen && container.childCount > 0); if (container.containerOpen && container.childCount > 0)
return true; return true;
} }
} }