Module Name: src Committed By: lukem Date: Sat Apr 18 09:25:50 UTC 2009
Modified Files: src/usr.sbin/rmt: rmt.c Log Message: Fix -Wshadow issue To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/rmt/rmt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/rmt/rmt.c diff -u src/usr.sbin/rmt/rmt.c:1.15 src/usr.sbin/rmt/rmt.c:1.16 --- src/usr.sbin/rmt/rmt.c:1.15 Mon Jul 21 13:36:59 2008 +++ src/usr.sbin/rmt/rmt.c Sat Apr 18 09:25:50 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: rmt.c,v 1.15 2008/07/21 13:36:59 lukem Exp $ */ +/* $NetBSD: rmt.c,v 1.16 2009/04/18 09:25:50 lukem Exp $ */ /* * Copyright (c) 1983, 1993 @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)rmt.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: rmt.c,v 1.15 2008/07/21 13:36:59 lukem Exp $"); +__RCSID("$NetBSD: rmt.c,v 1.16 2009/04/18 09:25:50 lukem Exp $"); #endif #endif /* not lint */ @@ -61,7 +61,6 @@ int tape = -1; -char *record; int maxrecsize = -1; #define SSIZE 64 @@ -85,6 +84,7 @@ int argc; char **argv; { + char *record = NULL; int rval; char c; int n, i, cc;