summaryrefslogtreecommitdiff
path: root/crashrep/source/unx/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'crashrep/source/unx/main.cxx')
-rw-r--r--crashrep/source/unx/main.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index f0e6630658c5..ed257e17fe81 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -484,12 +484,9 @@ static void WriteSOAPRequest( FILE *fp )
struct RequestParams
{
- bool success;
- FILE *fpin;
+ FILE *fpin;
const char *pServer;
- unsigned short uPort;
const char *pProxyServer;
- unsigned short uProxyPort;
};
@@ -540,8 +537,7 @@ bool send_crash_report( const boost::unordered_map< string, string >& rSettings
static bool append_file( const char *filename, string& rString )
{
- char buf[1024];
- bool bSuccess = false;
+ char buf[1024];
FILE *fp = fopen( filename, "r" );
if ( fp )