Clean up useless getnatp() in conv(), nav_map(), tele()

Spotted by the Clang Static Analyzer.
This commit is contained in:
Markus Armbruster 2010-01-16 10:14:43 +01:00
parent 8ededa44f9
commit 8195d5fb88
3 changed files with 0 additions and 5 deletions

View file

@ -46,7 +46,6 @@ tele(void)
char buf[MAXTELSIZE + 1]; /* UTF-8 */
int n;
natp = getnatp(player->cnum);
if (*player->argp[0] == 'a') {
if (getele("everybody", buf) <= 0) {
pr("Announcement aborted\n");