aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-07 21:55:32 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-07 21:55:32 +0800
commit0691b5a1f29cfa6b330977bf4a174af4fb0a55e6 (patch)
treec99190aceed78ec5cf6e6bcd7d4730ea064d53b1 /embed/mozilla/MozDownload.cpp
parent01d7487d7e025c6e0de3054437709f2e6b24dbed (diff)
downloadgsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar.gz
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar.bz2
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar.lz
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar.xz
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.tar.zst
gsoc2013-epiphany-0691b5a1f29cfa6b330977bf4a174af4fb0a55e6.zip
Remove unused variables, and adjust some MOZILLA_SNAPSHOT checks.
2004-05-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed.cpp: Remove unused variables, and adjust some MOZILLA_SNAPSHOT checks.
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r--embed/mozilla/MozDownload.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index d2354ecd9..f4dd9687d 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -114,7 +114,6 @@ MozDownload::Init(nsIURI *aSource, nsIURI *aTarget, const PRUnichar *aDisplayNam
#endif
{
PRBool addToView = PR_TRUE;
- nsresult rv;
if (mEmbedPersist)
{
@@ -605,7 +604,7 @@ static char*
GetFilePath (const char *filename)
{
char *path = NULL;
- char *download_dir, *converted_dp, *expanded, *tmp;
+ char *download_dir, *converted_dp, *expanded;
download_dir = eel_gconf_get_string (CONF_STATE_DOWNLOAD_DIR);