Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Clean up some left overs
details: https://anonhg.NetBSD.org/src/rev/ba9702412721
branches: trunk
changeset: 786999:ba9702412721
user: sjg <sjg%NetBSD.org@localhost>
date: Wed May 29 00:23:31 2013 +0000
description:
Clean up some left overs
diffstat:
usr.bin/make/var.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r 3d6a66b07ca0 -r ba9702412721 usr.bin/make/var.c
--- a/usr.bin/make/var.c Tue May 28 20:13:16 2013 +0000
+++ b/usr.bin/make/var.c Wed May 29 00:23:31 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: var.c,v 1.174 2013/05/18 13:12:45 sjg Exp $ */
+/* $NetBSD: var.c,v 1.175 2013/05/29 00:23:31 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.174 2013/05/18 13:12:45 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.175 2013/05/29 00:23:31 sjg Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)var.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: var.c,v 1.174 2013/05/18 13:12:45 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.175 2013/05/29 00:23:31 sjg Exp $");
#endif
#endif /* not lint */
#endif
@@ -2304,9 +2304,7 @@
size_t len, len2;
unsigned char *ustr = (unsigned char *)str;
uint32_t h, k, c1, c2;
- int done;
-
- done = 1;
+
h = 0x971e137bU;
c1 = 0x95543787U;
c2 = 0x2ad7eb25U;
@@ -2336,7 +2334,7 @@
h = (h << 13) ^ (h >> 19);
h = h * 5 + 0x52dce729U;
h ^= k;
- } while (!done);
+ }
h ^= len2;
h *= 0x85ebca6b;
h ^= h >> 13;
Home |
Main Index |
Thread Index |
Old Index