Add two missing "(void)" casts.

This commit is contained in:
tron 1999-08-19 07:18:38 +00:00
parent dffe3016d3
commit 4ea05d6101
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
/* $NetBSD: perform.c,v 1.32 1999/08/19 07:17:35 tron Exp $ */
/* $NetBSD: perform.c,v 1.33 1999/08/19 07:18:38 tron Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
__RCSID("$NetBSD: perform.c,v 1.32 1999/08/19 07:17:35 tron Exp $");
__RCSID("$NetBSD: perform.c,v 1.33 1999/08/19 07:18:38 tron Exp $");
#endif
#endif
@ -275,8 +275,8 @@ pkg_do(char *pkg)
int l;
l = s-PkgName+1;
memcpy(buf, PkgName, l);
strcpy(&buf[l],"[0-9]*");
(void) memcpy(buf, PkgName, l);
(void) strcpy(&buf[l],"[0-9]*");
if (findmatchingname(dbdir, buf, check_if_installed, installed) > 0) {
warnx("other version '%s' already installed", installed);