Commit 44cc51fe authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2083 from take-cheeze/use_bool_macro

Use boolean macro instead of integer literal in `is_debug_info_defined`.
parents e5368c00 1ed93940
...@@ -722,11 +722,11 @@ is_debug_info_defined(mrb_irep *irep) ...@@ -722,11 +722,11 @@ is_debug_info_defined(mrb_irep *irep)
{ {
size_t i; size_t i;
if (!irep->debug_info) return 0; if (!irep->debug_info) return FALSE;
for (i=0; i<irep->rlen; i++) { for (i=0; i<irep->rlen; i++) {
if (!is_debug_info_defined(irep->reps[i])) return 0; if (!is_debug_info_defined(irep->reps[i])) return FALSE;
} }
return 1; return TRUE;
} }
static int static int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment