Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Don't use an empty body on the same line ...
details: https://anonhg.NetBSD.org/src/rev/57a9427362f3
branches: trunk
changeset: 779751:57a9427362f3
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jun 15 23:01:16 2012 +0000
description:
Don't use an empty body on the same line for the for loop.
diffstat:
sys/arch/i386/i386/bios32.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 30a37983bccb -r 57a9427362f3 sys/arch/i386/i386/bios32.c
--- a/sys/arch/i386/i386/bios32.c Fri Jun 15 21:59:39 2012 +0000
+++ b/sys/arch/i386/i386/bios32.c Fri Jun 15 23:01:16 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bios32.c,v 1.28 2009/11/17 23:45:39 dyoung Exp $ */
+/* $NetBSD: bios32.c,v 1.29 2012/06/15 23:01:16 joerg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.28 2009/11/17 23:45:39 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bios32.c,v 1.29 2012/06/15 23:01:16 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -175,8 +175,8 @@
if (p[0] != '_' && p[1] != 'D' && p[2] != 'M' &&
p[3] != 'I' && p[4] != '_')
continue;
- for (chksum = 0, i = 0xf; i--; chksum += p[i]);
- ;
+ for (chksum = 0, i = 0xf; i--;)
+ chksum += p[i];
if (chksum != 0)
continue;
Home |
Main Index |
Thread Index |
Old Index