diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-20 00:42:42 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-04-20 00:42:42 +0900 |
| commit | 44cc51fef7b68f2b93a5c51d4da9778ca43fa80e (patch) | |
| tree | 1ba2196203b01c9b4dd560c9bd6eab6e2d5f8849 | |
| parent | e5368c006ad1f5f1dcf31ddb4093c45b5621a00c (diff) | |
| parent | 1ed9394078ca797af876e1c9dc4e8b28e5cd6d89 (diff) | |
| download | mruby-44cc51fef7b68f2b93a5c51d4da9778ca43fa80e.tar.gz mruby-44cc51fef7b68f2b93a5c51d4da9778ca43fa80e.zip | |
Merge pull request #2083 from take-cheeze/use_bool_macro
Use boolean macro instead of integer literal in `is_debug_info_defined`.
| -rw-r--r-- | src/dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; 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 |
