aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 4d0819153d..a4550e922c 100644
--- a/mjit.c
+++ b/mjit.c
@@ -469,7 +469,7 @@ init_header_filename(void)
// Root path of the running ruby process. Equal to RbConfig::TOPDIR.
VALUE basedir_val;
#endif
- const char *basedir = NULL;
+ const char *basedir = "";
size_t baselen = 0;
char *p;
#ifdef _WIN32