Spotted by the Clang Static Analyzer.
struct lndstr land;
struct nstr_item ni;
-
- natp = getnatp(player->cnum);
if (!snxtsct(&nstr, player->argp[1]))
return RET_SYN;
uwtoconvert = onearg(player->argp[2], "Number to convert: ");
{
char *ptr;
struct nstr_sect ns;
- struct natstr *np;
struct sctstr sect;
int i;
/* Note this is not re-entrant anyway, so we keep the buffers
return RET_FAIL;
}
snxtsct_dist(&ns, x, y, 1);
- np = getnatp(player->cnum);
blankfill(wmapbuf, &ns.range, 1);
while (nxtsct(&ns, §)) {
ptr = &wmap[ns.dy][ns.dx];
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");