diff --git a/modules/plugin/base/src/nsPluginHostImpl.cpp b/modules/plugin/base/src/nsPluginHostImpl.cpp index 5eb4b012d14..780d13816d9 100644 --- a/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -1797,7 +1797,7 @@ nsresult nsPluginStreamListenerPeer::InitializeEmbedded(nsIURI *aURL, { #ifdef PLUGIN_LOGGING nsCAutoString urlSpec; - if(aURL != nsnull) (void)aURL->GetSpec(urlSpec); + (void)aURL->GetSpec(urlSpec); PR_LOG(nsPluginLogging::gPluginLog, PLUGIN_LOG_NORMAL, ("nsPluginStreamListenerPeer::InitializeEmbedded url=%s\n", urlSpec.get()));