Use boolean macro instead of integer literal in is_debug_info_defined.

This commit is contained in:
take_cheeze
2014-04-19 23:25:48 +09:00
parent e5368c006a
commit 1ed9394078
+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