From 1ed9394078ca797af876e1c9dc4e8b28e5cd6d89 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Sat, 19 Apr 2014 23:25:48 +0900 Subject: Use boolean macro instead of integer literal in `is_debug_info_defined`. --- src/dump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dump.c') diff --git a/src/dump.c b/src/dump.c index bdfa0787f..2691aab3d 100644 --- a/src/dump.c +++ b/src/dump.c @@ -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; irlen; 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 -- cgit v1.2.3