diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-04-21 16:12:21 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 20:57:29 +0200 |
commit | 30b5c52fc1370065bed0ba0a4b22329556fb0592 (patch) | |
tree | df03f621d7ad9d2f0462a4b70477b73c85cce048 /src/init1.c | |
parent | b102a2e0aeb70e93a1122f42e00a7b672f718a07 (diff) |
Clear up Clang warnings.
Diffstat (limited to 'src/init1.c')
-rw-r--r-- | src/init1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init1.c b/src/init1.c index 61ef7c43..7446b189 100644 --- a/src/init1.c +++ b/src/init1.c @@ -6181,7 +6181,7 @@ errr init_ab_info_txt(FILE *fp, char *buf) level = atoi(buf + 2); skill = find_skill(sec); - if ((skill == -1)) return (1); + if (skill == -1) return (1); for (z = 0; z < 10; z++) if (ab_ptr->skills[z] == -1) break; @@ -6203,7 +6203,7 @@ errr init_ab_info_txt(FILE *fp, char *buf) ab = find_ability(buf + 2); - if ((ab == -1)) return (1); + if (ab == -1) return (1); for (z = 0; z < 10; z++) if (ab_ptr->need_abilities[z] == -1) break; @@ -6238,7 +6238,7 @@ errr init_ab_info_txt(FILE *fp, char *buf) break; } - if ((stat == 6)) return (1); + if (stat == 6) return (1); ab_ptr->stat[stat] = atoi(buf + 2); |