summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:10:51 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-10-31 18:10:51 +0100
commitfce371e22a14ed55f246e1fe5413c5058b7fcae6 (patch)
treee7b82b693a4d046a42e008863d07c5fc2245f5f6 /src/core
parente442182a9683a713d3d97b452b4361ee0cd1d9a5 (diff)
downloadweechat-fce371e22a14ed55f246e1fe5413c5058b7fcae6.zip
Remove unused variables
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-backtrace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/wee-backtrace.c b/src/core/wee-backtrace.c
index 03e6ccd49..7ebc6e0b4 100644
--- a/src/core/wee-backtrace.c
+++ b/src/core/wee-backtrace.c
@@ -81,7 +81,6 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
char cmd_line[1024];
char line[1024], *ptr_line, *pos;
char function_name[1024];
- int file_line;
rc = dladdr (address, &info);
if ((rc == 0) || !info.dli_fname || !info.dli_fname[0])
@@ -106,7 +105,6 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
return;
}
function_name[0] = '\0';
- file_line = 0;
while (!feof (output))
{
ptr_line = fgets (line, sizeof (line) - 1, output);
@@ -117,7 +115,6 @@ weechat_backtrace_addr2line (int number, void *address, const char *symbol)
pos[0] = '\0';
if (strchr (ptr_line, ':'))
{
- file_line = 1;
weechat_backtrace_printf ("%03d %s%s%s%s",
number,
ptr_line,