Merge pull request #2083 from take-cheeze/use_bool_macro

Use boolean macro instead of integer literal in `is_debug_info_defined`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-04-20 00:42:42 +09:00
+3 -3
View File
@@ -722,11 +722,11 @@ is_debug_info_defined(mrb_irep *irep)
{
size_t i;
if (!irep->debug_info) return 0;
if (!irep->debug_info) return FALSE;
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