Add explicit cast to void

All other these calls not using a return value have a cast.
This commit is contained in:
SHIRAKATA Kentaro
2022-03-16 22:45:39 +09:00
parent 64371dc8b3
commit 1c7faa0585
3 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ browse_map(int ter_typ, const char *ter_explain)
save_autodescribe = iflags.autodescribe;
iflags.autodescribe = TRUE;
iflags.terrainmode = ter_typ;
getpos(&dummy_pos, FALSE, ter_explain);
(void) getpos(&dummy_pos, FALSE, ter_explain);
iflags.terrainmode = 0;
iflags.autodescribe = save_autodescribe;
}