[syslinux:master] com32/lib/sys/rawcon_read.c: remove variables set but not used
syslinux-bot for H. Peter Anvin
hpa at zytor.com
Wed Mar 16 13:18:44 PDT 2011
Commit-ID: b453fc83d17ea0d3c47cc921a042b50381ba2bcb
Gitweb: http://syslinux.zytor.com/commit/b453fc83d17ea0d3c47cc921a042b50381ba2bcb
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Wed, 16 Mar 2011 13:10:36 -0700
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Wed, 16 Mar 2011 13:10:36 -0700
com32/lib/sys/rawcon_read.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
com32/lib/sys/rawcon_read.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/com32/lib/sys/rawcon_read.c b/com32/lib/sys/rawcon_read.c
index 92c9b29..f7e89c7 100644
--- a/com32/lib/sys/rawcon_read.c
+++ b/com32/lib/sys/rawcon_read.c
@@ -45,14 +45,11 @@ ssize_t __rawcon_read(struct file_info *fp, void *buf, size_t count)
com32sys_t ireg, oreg;
char *bufp = buf;
size_t n = 0;
- clock_t start;
(void)fp;
memset(&ireg, 0, sizeof ireg);
- start = times(NULL);
-
while (n < count) {
/* Poll */
ireg.eax.b[1] = 0x0B;
More information about the Syslinux-commits
mailing list