Module Name: src Committed By: christos Date: Fri Jun 28 15:46:37 UTC 2013
Modified Files: src/sys/fs/ntfs: ntfs_subr.c Log Message: remove useless initialization, KNF http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/fs/ntfs/ntfs_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/fs/ntfs/ntfs_subr.c diff -u src/sys/fs/ntfs/ntfs_subr.c:1.49 src/sys/fs/ntfs/ntfs_subr.c:1.50 --- src/sys/fs/ntfs/ntfs_subr.c:1.49 Thu Dec 20 03:03:43 2012 +++ src/sys/fs/ntfs/ntfs_subr.c Fri Jun 28 11:46:37 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: ntfs_subr.c,v 1.49 2012/12/20 08:03:43 hannken Exp $ */ +/* $NetBSD: ntfs_subr.c,v 1.50 2013/06/28 15:46:37 christos Exp $ */ /*- * Copyright (c) 1998, 1999 Semen Ustimenko (sem...@freebsd.org) @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.49 2012/12/20 08:03:43 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ntfs_subr.c,v 1.50 2013/06/28 15:46:37 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1795,10 +1795,12 @@ ntfs_readattr( if (vap->va_compression && vap->va_compressalg) { u_int8_t *cup; u_int8_t *uup; - off_t off = roff, left = rsize, tocopy; - void * data = rdata; + off_t off, roff, left, tocopy; + void *data cn_t cn; + left = rsize; + data = rdata; ddprintf(("%s: compression: %d\n", __func__, vap->va_compressalg));