From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 21:22:47 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 881B41065672 for ; Mon, 14 Jun 2010 21:22:47 +0000 (UTC) (envelope-from pawel.worach@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1723C8FC19 for ; Mon, 14 Jun 2010 21:22:46 +0000 (UTC) Received: by wyb34 with SMTP id 34so706653wyb.13 for ; Mon, 14 Jun 2010 14:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=IDdfNiAIRXbMvPA2bVdKxO5JkR6aq5GQL+NkjBd/Zno=; b=gyDwFxmghdoycNJcW40M8uSNZOP87zTnQP2mmp3OEsOmjE3+EsOSms6Ls8fiec/YS9 W/AjBvjCaw5FxtpmEYkXp/3sdTbUV6cszaaKQJOWjqMvW5Of9X39BcDMuSGahy/dziq/ GNRS5ljn3O3LR76BeieMjeKKaVF7pCpFUS+R8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=hSh7+q8wdfC2fcjFgGb5SG8JvconV4xuIJLX6wNdAkl7SA9AtAuAKHqlDs8JJAYZdd wUrD5jXN6eCFVEjcvx0kCyxYy1o7XE5Tl44lOr0zQxy5WEpH0hZokH6Qg2THwXlEyyDF R/Y6b01dqdQFl8KVAhDM04KNTR7bzw/7VEH9w= Received: by 10.227.69.213 with SMTP id a21mr6216866wbj.220.1276550564908; Mon, 14 Jun 2010 14:22:44 -0700 (PDT) Received: from [172.16.0.199] (c80-216-186-179.bredband.comhem.se [80.216.186.179]) by mx.google.com with ESMTPS id t15sm39862806wbc.11.2010.06.14.14.22.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jun 2010 14:22:44 -0700 (PDT) From: Pawel Worach Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Jun 2010 23:22:42 +0200 Message-Id: To: current@freebsd.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) Cc: Subject: [patch] Misc warnings found by clang. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 21:22:47 -0000 Here is a patch that fixes a couple of "warning: format string is not a = string literal" and a couple of unused/never read variable "len" = warnings in lib/libugidfw. http://pes.vlakno.cz/~pwo/clang-warn-fix-head.diff Regards --=20 Pawel