aboutsummaryrefslogtreecommitdiffstats
path: root/lib/runtime_tools/c_src
diff options
context:
space:
mode:
authorMartti Kuparinen <[email protected]>2010-06-23 11:15:30 +0300
committerBjörn Gustavsson <[email protected]>2010-08-13 11:09:11 +0200
commit88a04a19d751c4c6712fc9b079e16d3976a4d731 (patch)
tree7ee6383f7ed95c21f5a1f1873f452681c5b6c212 /lib/runtime_tools/c_src
parent69600625564ab3338b2bb2cbbc83da1ae28d6813 (diff)
downloadotp-88a04a19d751c4c6712fc9b079e16d3976a4d731.tar.gz
otp-88a04a19d751c4c6712fc9b079e16d3976a4d731.tar.bz2
otp-88a04a19d751c4c6712fc9b079e16d3976a4d731.zip
Remove unused variables
Diffstat (limited to 'lib/runtime_tools/c_src')
-rw-r--r--lib/runtime_tools/c_src/trace_file_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/runtime_tools/c_src/trace_file_drv.c b/lib/runtime_tools/c_src/trace_file_drv.c
index 482fcc0288..cd54f36af0 100644
--- a/lib/runtime_tools/c_src/trace_file_drv.c
+++ b/lib/runtime_tools/c_src/trace_file_drv.c
@@ -520,7 +520,7 @@ static int do_write(FILETYPE fd, unsigned char *buff, int siz) {
*/
static int my_write(TraceFileData *data, unsigned char *buff, int siz)
{
- int wrote, w;
+ int wrote;
if (data->buff_siz - data->buff_pos >= siz) {
memcpy(data->buff + data->buff_pos, buff, siz);