aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2015-08-20 13:16:59 +0200
committerKostis Sagonas <[email protected]>2015-08-20 13:16:59 +0200
commitf237a833c2361183199cf4f2ce96672d03e290f3 (patch)
tree8fb1c57c90050dacb7bf1e4c1249f7e3dd01a426
parente3a5ad489d6e6cc190b609f8648b6af993c1b333 (diff)
downloadotp-f237a833c2361183199cf4f2ce96672d03e290f3.tar.gz
otp-f237a833c2361183199cf4f2ce96672d03e290f3.tar.bz2
otp-f237a833c2361183199cf4f2ce96672d03e290f3.zip
Take out unused code that results in a gcc warning
These ifdef-ed lines were once upon a time needed, but the recent changes in the time mechanism of OTP render them unused and result in a warning on architectures which are not 64-bit.
-rw-r--r--erts/emulator/hipe/hipe_native_bif.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_native_bif.c b/erts/emulator/hipe/hipe_native_bif.c
index 98bda43f0e..688378b2fe 100644
--- a/erts/emulator/hipe/hipe_native_bif.c
+++ b/erts/emulator/hipe/hipe_native_bif.c
@@ -93,9 +93,6 @@ BIF_RETTYPE hipe_set_timeout(BIF_ALIST_1)
{
Process* p = BIF_P;
Eterm timeout_value = BIF_ARG_1;
-#if !defined(ARCH_64)
- Uint time_val;
-#endif
/* XXX: This should be converted to follow BEAM conventions,
* but that requires some compiler changes.
*