diff options
author | 2005-04-16 10:40:45 +0000 | |
---|---|---|
committer | 2005-04-16 10:40:45 +0000 | |
commit | c21d2bc541cdfc4269e807fa576ad2508f9bb5d5 (patch) | |
tree | 0a7ed96889196ec939bd1f18ac84733d6e5ade72 /lib/libc/string/wcscpy.c | |
parent | don't leak a mbuf when tx fails. (diff) | |
download | wireguard-openbsd-c21d2bc541cdfc4269e807fa576ad2508f9bb5d5.tar.xz wireguard-openbsd-c21d2bc541cdfc4269e807fa576ad2508f9bb5d5.zip |
Remove redundant line
ok espie@ otto@ millert@ deraadt@
Diffstat (limited to 'lib/libc/string/wcscpy.c')
-rw-r--r-- | lib/libc/string/wcscpy.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/string/wcscpy.c b/lib/libc/string/wcscpy.c index 22f5bcbc7d1..266ea4a3df3 100644 --- a/lib/libc/string/wcscpy.c +++ b/lib/libc/string/wcscpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wcscpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $ */ +/* $OpenBSD: wcscpy.c,v 1.2 2005/04/16 10:40:45 tom Exp $ */ /* $NetBSD: wcscpy.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ /*- @@ -30,7 +30,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: wcscpy.c,v 1.1 2005/04/13 16:35:58 espie Exp $"; +static char *rcsid = "$OpenBSD: wcscpy.c,v 1.2 2005/04/16 10:40:45 tom Exp $"; #endif /* LIBC_SCCS and not lint */ #include <wchar.h> @@ -43,7 +43,6 @@ wcscpy(s1, s2) wchar_t *p; const wchar_t *q; - *s1 = '\0'; p = s1; q = s2; while (*q) |