Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libusbhid Remove pointless self-assignment
details: https://anonhg.NetBSD.org/src/rev/035ac37719b8
branches: trunk
changeset: 765253:035ac37719b8
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 15:16:27 2011 +0000
description:
Remove pointless self-assignment
diffstat:
lib/libusbhid/parse.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 81512b13dad8 -r 035ac37719b8 lib/libusbhid/parse.c
--- a/lib/libusbhid/parse.c Mon May 23 14:53:46 2011 +0000
+++ b/lib/libusbhid/parse.c Mon May 23 15:16:27 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.7 2010/08/13 19:56:34 jakllsch Exp $ */
+/* $NetBSD: parse.c,v 1.8 2011/05/23 15:16:27 joerg Exp $ */
/*
* Copyright (c) 1999, 2001 Lennart Augustsson <augustss%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: parse.c,v 1.7 2010/08/13 19:56:34 jakllsch Exp $");
+__RCSID("$NetBSD: parse.c,v 1.8 2011/05/23 15:16:27 joerg Exp $");
#include <assert.h>
#include <stdlib.h>
@@ -238,7 +238,6 @@
case 2:
dval = *data++;
dval |= *data++ << 8;
- dval = /*(int16_t)*/dval;
break;
case 4:
dval = *data++;
Home |
Main Index |
Thread Index |
Old Index