Date: Wed, 26 Jun 2002 02:58:31 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/39866: cleaning sbin/fsdb code from warnings Message-ID: <200206260058.g5Q0wVFJ057053@obluda.cz>
next in thread | raw e-mail | index | archive | help
>Number: 39866
>Category: bin
>Synopsis: cleaning sbin/fsdb code from warnings
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 25 18:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Dan Lukes
>Release: FreeBSD 4.6-STABLE i386
>Organization:
Obludarium
>Environment:
System: FreeBSD xkulesh.vol.cz 4.6-STABLE FreeBSD
src/sbin/fsdb/fsdbutil.c,v 1.9.2.2 2002/03/20 13:39:02
>Description:
sbin/fsdb/fsdbutil.c: In function `printblocks':
251: warning: unused variable `j'
it variable is really unused
>How-To-Repeat:
N/A
>Fix:
--- sbin/fsdb/fsdbutil.c.ORIG Mon Mar 25 20:10:30 2002
+++ sbin/fsdb/fsdbutil.c Wed Jun 26 02:52:05 2002
@@ -248,7 +248,7 @@
struct dinode *dp;
{
char *bufp;
- int i, j, nfrags;
+ int i, nfrags;
long ndb, offset;
printf("Blocks for inode %d:\n", inum);
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206260058.g5Q0wVFJ057053>
