1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-27 07:33:19 +00:00

Silence a couple of warnings on Clang. NFC.

This commit is contained in:
Arthur O'Dwyer 2017-10-17 00:05:55 -07:00
parent 863a065821
commit fa8078dc8b
2 changed files with 3 additions and 3 deletions

View File

@ -3557,7 +3557,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
else if((c->land == laCaribbean || c->land == laOcean || c->land == laOceanWall || c->land == laWhirlpool))
qfloor(c, Vf, shCloudFloor[ct6], darkena(fcol, fd, 0xFF));
else if((c->land == laKraken))
else if(c->land == laKraken)
qfloor(c, Vf, shFullFloor[ct6], darkena(fcol, fd, 0xFF));
else if(c->land == laLivefjord)

View File

@ -362,7 +362,7 @@ int main() {
printf("hashcode hashval = 0x%x;\n\n", hashval);
printf("sentence all_sentences[] = {\n", size(allsent));
printf("sentence all_sentences[] = {\n");
for(map<hashcode,string>::iterator it = ms.begin(); it != ms.end(); it++) {
string s = it->second;
@ -374,7 +374,7 @@ int main() {
}
printf(" };\n\n");
printf("fullnoun all_nouns[] = {\n", size(allnouns));
printf("fullnoun all_nouns[] = {\n");
for(map<hashcode,string>::iterator it = mn.begin(); it != mn.end(); it++) {
string s = it->second;