Fix warnings, bug 15588. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@53123 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -229,9 +229,6 @@ nsInterfaceState::UpdateListState(const char* observerName)
|
||||
nsCOMPtr<nsIEditor> editor = do_QueryInterface(mEditor);
|
||||
editor->GetSelection(getter_AddRefs(domSelection));
|
||||
}
|
||||
|
||||
PRBool inOL = PR_FALSE;
|
||||
PRBool inUL = PR_FALSE;
|
||||
|
||||
nsCOMPtr<nsIDOMNode> domNode;
|
||||
if (domSelection)
|
||||
|
||||
@@ -229,9 +229,6 @@ nsInterfaceState::UpdateListState(const char* observerName)
|
||||
nsCOMPtr<nsIEditor> editor = do_QueryInterface(mEditor);
|
||||
editor->GetSelection(getter_AddRefs(domSelection));
|
||||
}
|
||||
|
||||
PRBool inOL = PR_FALSE;
|
||||
PRBool inUL = PR_FALSE;
|
||||
|
||||
nsCOMPtr<nsIDOMNode> domNode;
|
||||
if (domSelection)
|
||||
|
||||
@@ -1464,11 +1464,11 @@ il_image_complete(il_container *ic)
|
||||
* LOSRC or previous images in the multipart message.
|
||||
* XXX - fur - Shouldn't do this for COLORMAP case.
|
||||
*/
|
||||
PRBool ret=il_reset_palette(ic);
|
||||
/* PRBool ret= */ il_reset_palette(ic);
|
||||
|
||||
FREE_IF_NOT_NULL(src_header->color_space->cmap.map);
|
||||
FREE_IF_NOT_NULL(src_header->transparent_pixel);
|
||||
il_destroy_image_transparent_pixel(ic);
|
||||
il_destroy_image_transparent_pixel(ic);
|
||||
FREE_IF_NOT_NULL(ic->comment);
|
||||
ic->comment_length = 0;
|
||||
|
||||
|
||||
@@ -905,12 +905,8 @@ nsFindComponent::Find(nsISupports *aContext, PRBool *aDidFind)
|
||||
NS_IMETHODIMP
|
||||
nsFindComponent::Replace( nsISupports *aContext )
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
if (!aContext)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
Context *context = (Context*)aContext;
|
||||
if (!aContext)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user