From owner-cvs-all@FreeBSD.ORG Sun Jul 3 01:03:21 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60CBB16A9FE; Sun, 3 Jul 2005 00:57:23 +0000 (GMT) (envelope-from ps@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B6EF44168; Sun, 3 Jul 2005 00:38:49 +0000 (GMT) (envelope-from ps@mu.org) Received: by elvis.mu.org (Postfix, from userid 1000) id 1F4886D921; Sat, 2 Jul 2005 17:37:39 -0700 (PDT) X-Original-To: ps@mu.org Delivered-To: ps@mu.org Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by elvis.mu.org (Postfix) with ESMTP id 2B2D45CA15 for ; Mon, 17 Jan 2005 06:14:08 -0800 (PST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 18E24563DC for ; Mon, 17 Jan 2005 14:14:08 +0000 (GMT) (envelope-from owner-src-committers@FreeBSD.org) Received: by hub.freebsd.org (Postfix) id 717BB16A533; Mon, 17 Jan 2005 14:14:04 +0000 (GMT) Delivered-To: ps@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 538) id E257C16A4D1; Mon, 17 Jan 2005 14:14:01 +0000 (GMT) Delivered-To: src-committers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BA1216A4CE; Mon, 17 Jan 2005 14:14:01 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E82FB43D54; Mon, 17 Jan 2005 14:14:00 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0HEE06j057145; Mon, 17 Jan 2005 14:14:00 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0HEE0J3057144; Mon, 17 Jan 2005 14:14:00 GMT (envelope-from delphij) Message-Id: <200501171414.j0HEE0J3057144@repoman.freebsd.org> From: Xin LI To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Sender: owner-src-committers@FreeBSD.org Precedence: bulk X-Loop: FreeBSD.ORG X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on elvis.mu.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.1 X-Spam-Level: Cc: Subject: cvs commit: src/sbin/newfs_msdos Makefile newfs_msdos.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 01:03:22 -0000 X-Original-Date: Mon, 17 Jan 2005 14:14:00 +0000 (UTC) X-List-Received-Date: Sun, 03 Jul 2005 01:03:22 -0000 delphij 2005-01-17 14:14:00 UTC FreeBSD src repository Modified files: sbin/newfs_msdos Makefile newfs_msdos.c Log: WARNS=6 cleanup: - Initialize everything in the struct array, not only the mentioned ones - Unconditionally initialize hs to 0 to avoid repeatly doing so - Cast to unsigned int when comparing to unsigned variables. Revision Changes Path 1.9 +2 -1 src/sbin/newfs_msdos/Makefile 1.21 +16 -16 src/sbin/newfs_msdos/newfs_msdos.c