mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user