aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-03-13 11:19:31 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-13 11:19:31 +0100
commit17f4ccfcd91b2ba074f5c6fe224adacfe5952df4 (patch)
tree92d7988930bd83fc2d9c8221f982a804d5410f84 /erts/emulator
parentdee91137e9b8c1f32b788ce5b5b34fcb2076d9ad (diff)
downloadotp-17f4ccfcd91b2ba074f5c6fe224adacfe5952df4.tar.gz
otp-17f4ccfcd91b2ba074f5c6fe224adacfe5952df4.tar.bz2
otp-17f4ccfcd91b2ba074f5c6fe224adacfe5952df4.zip
erts: Remove unused variable in crashdump creation
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/break.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/beam/break.c b/erts/emulator/beam/break.c
index 4ede2c9d7d..e2fa572546 100644
--- a/erts/emulator/beam/break.c
+++ b/erts/emulator/beam/break.c
@@ -661,7 +661,6 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args)
{
#ifdef ERTS_SMP
ErtsThrPrgrData tpd_buf; /* in case we aren't a managed thread... */
- int bc;
#endif
int fd;
size_t envsz;
@@ -681,7 +680,7 @@ erl_crash_dump_v(char *file, int line, char* fmt, va_list args)
/* Order all managed threads to block, this has to be done
first to guarantee that this is the only thread to generate
crash dump. */
- bc = erts_thr_progress_fatal_error_block(&tpd_buf);
+ erts_thr_progress_fatal_error_block(&tpd_buf);
#ifdef ERTS_THR_HAVE_SIG_FUNCS
/*