Skip to content

Commit

Permalink
com32/lib/sys/rawcon_read.c: remove variables set but not used
Browse files Browse the repository at this point in the history
gcc 4.6 warns on variables set but not used, so remove them.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
H. Peter Anvin committed Mar 16, 2011
1 parent 88dc082 commit b453fc8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions com32/lib/sys/rawcon_read.c
Expand Up @@ -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;
Expand Down

0 comments on commit b453fc8

Please sign in to comment.