diff --git a/mozilla/editor/base/nsInterfaceState.cpp b/mozilla/editor/base/nsInterfaceState.cpp index 8bfd0c93af0..62e23955fc9 100644 --- a/mozilla/editor/base/nsInterfaceState.cpp +++ b/mozilla/editor/base/nsInterfaceState.cpp @@ -229,9 +229,6 @@ nsInterfaceState::UpdateListState(const char* observerName) nsCOMPtr editor = do_QueryInterface(mEditor); editor->GetSelection(getter_AddRefs(domSelection)); } - - PRBool inOL = PR_FALSE; - PRBool inUL = PR_FALSE; nsCOMPtr domNode; if (domSelection) diff --git a/mozilla/editor/composer/src/nsInterfaceState.cpp b/mozilla/editor/composer/src/nsInterfaceState.cpp index 8bfd0c93af0..62e23955fc9 100644 --- a/mozilla/editor/composer/src/nsInterfaceState.cpp +++ b/mozilla/editor/composer/src/nsInterfaceState.cpp @@ -229,9 +229,6 @@ nsInterfaceState::UpdateListState(const char* observerName) nsCOMPtr editor = do_QueryInterface(mEditor); editor->GetSelection(getter_AddRefs(domSelection)); } - - PRBool inOL = PR_FALSE; - PRBool inUL = PR_FALSE; nsCOMPtr domNode; if (domSelection) diff --git a/mozilla/modules/libimg/src/if.cpp b/mozilla/modules/libimg/src/if.cpp index bdfc9c49a56..e08a8003634 100644 --- a/mozilla/modules/libimg/src/if.cpp +++ b/mozilla/modules/libimg/src/if.cpp @@ -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; diff --git a/mozilla/xpfe/components/find/src/nsFindComponent.cpp b/mozilla/xpfe/components/find/src/nsFindComponent.cpp index c4a7f8009c2..b77606c8593 100644 --- a/mozilla/xpfe/components/find/src/nsFindComponent.cpp +++ b/mozilla/xpfe/components/find/src/nsFindComponent.cpp @@ -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; }