Module Name: src
Committed By: joerg
Date: Mon May 23 15:16:27 UTC 2011
Modified Files:
src/lib/libusbhid: parse.c
Log Message:
Remove pointless self-assignment
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libusbhid/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libusbhid/parse.c
diff -u src/lib/libusbhid/parse.c:1.7 src/lib/libusbhid/parse.c:1.8
--- src/lib/libusbhid/parse.c:1.7 Fri Aug 13 19:56:34 2010
+++ src/lib/libusbhid/parse.c Mon May 23 15:16:27 2011
@@ -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 <[email protected]>
@@ -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++;