зеркало из https://github.com/mozilla/pjs.git
Bug 650083 - nsEditor.cpp:1147: warning: unused variable 'rv'; r=roc
This commit is contained in:
Родитель
c68f37e219
Коммит
026e4aa358
|
@ -1144,7 +1144,6 @@ nsEditor::GetDocumentModified(PRBool *outDocModified)
|
|||
NS_IMETHODIMP
|
||||
nsEditor::GetDocumentCharacterSet(nsACString &characterSet)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIDocument> doc = do_QueryReferent(mDocWeak);
|
||||
NS_ENSURE_TRUE(doc, NS_ERROR_UNEXPECTED);
|
||||
|
||||
|
@ -1155,7 +1154,6 @@ nsEditor::GetDocumentCharacterSet(nsACString &characterSet)
|
|||
NS_IMETHODIMP
|
||||
nsEditor::SetDocumentCharacterSet(const nsACString& characterSet)
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIDocument> doc = do_QueryReferent(mDocWeak);
|
||||
NS_ENSURE_TRUE(doc, NS_ERROR_UNEXPECTED);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче