summaryrefslogtreecommitdiff
path: root/vm_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm_dump.c b/vm_dump.c
index a98f5aacee..a8bfbe97f2 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -1008,7 +1008,6 @@ rb_dump_machine_register(const ucontext_t *ctx)
void
rb_vm_bugreport(const void *ctx)
{
-#if RUBY_DEVEL
const char *cmd = getenv("RUBY_ON_BUG");
if (cmd) {
char buf[0x100];
@@ -1018,7 +1017,6 @@ rb_vm_bugreport(const void *ctx)
snprintf(buf, sizeof(buf), "Launching RUBY_ON_BUG command failed.");
}
}
-#endif
#ifdef __linux__
# define PROC_MAPS_NAME "/proc/self/maps"