diff options
| author | take_cheeze <[email protected]> | 2014-04-19 23:25:48 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-04-19 23:25:48 +0900 |
| commit | 1ed9394078ca797af876e1c9dc4e8b28e5cd6d89 (patch) | |
| tree | 1ba2196203b01c9b4dd560c9bd6eab6e2d5f8849 /src/dump.c | |
| parent | e5368c006ad1f5f1dcf31ddb4093c45b5621a00c (diff) | |
| download | mruby-1ed9394078ca797af876e1c9dc4e8b28e5cd6d89.tar.gz mruby-1ed9394078ca797af876e1c9dc4e8b28e5cd6d89.zip | |
Use boolean macro instead of integer literal in `is_debug_info_defined`.
Diffstat (limited to 'src/dump.c')
| -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 |
