mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Delete pointless NOSTRICT comments
This commit is contained in:
parent
3e07b96b19
commit
f06752bb14
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: execute.c,v 1.9 2015/08/22 14:47:41 deraadt Exp $ */
|
||||
/* $OpenBSD: execute.c,v 1.10 2015/09/27 07:06:41 guenther Exp $ */
|
||||
/* $NetBSD: execute.c,v 1.2 1997/10/10 16:33:13 lukem Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1983-2003, Regents of the University of California.
|
||||
@ -516,7 +516,7 @@ create_shot(type, y, x, face, charge, size, owner, score, expl, over)
|
||||
{
|
||||
BULLET *bp;
|
||||
|
||||
bp = malloc(sizeof (BULLET)); /* NOSTRICT */
|
||||
bp = malloc(sizeof (BULLET));
|
||||
if (bp == NULL) {
|
||||
logit(LOG_ERR, "malloc");
|
||||
if (owner != NULL)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: expl.c,v 1.10 2015/08/22 14:47:41 deraadt Exp $ */
|
||||
/* $OpenBSD: expl.c,v 1.11 2015/09/27 07:06:41 guenther Exp $ */
|
||||
/* $NetBSD: expl.c,v 1.2 1997/10/10 16:33:18 lukem Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1983-2003, Regents of the University of California.
|
||||
@ -58,7 +58,7 @@ showexpl(y, x, type)
|
||||
return;
|
||||
if (x < 0 || x >= WIDTH)
|
||||
return;
|
||||
ep = malloc(sizeof (EXPL)); /* NOSTRICT */
|
||||
ep = malloc(sizeof (EXPL));
|
||||
if (ep == NULL) {
|
||||
logit(LOG_ERR, "malloc");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user