Date: Tue, 11 Mar 2014 01:10:45 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262992 - head/lib/libbsdstat Message-ID: <201403110110.s2B1Ajkl069407@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Tue Mar 11 01:10:44 2014 New Revision: 262992 URL: http://svnweb.freebsd.org/changeset/base/262992 Log: libbsdstat: fix warnings, set WARNS libbsdstat can build with WARNS=6 with a one line change. Modified: head/lib/libbsdstat/Makefile head/lib/libbsdstat/bsdstat.c Modified: head/lib/libbsdstat/Makefile ============================================================================== --- head/lib/libbsdstat/Makefile Tue Mar 11 00:25:55 2014 (r262991) +++ head/lib/libbsdstat/Makefile Tue Mar 11 01:10:44 2014 (r262992) @@ -4,8 +4,6 @@ LIB= bsdstat SHLIB_MAJOR= 1 PRIVATELIB= -WARNS?= 3 - SRCS= bsdstat.c INCS= bsdstat.h Modified: head/lib/libbsdstat/bsdstat.c ============================================================================== --- head/lib/libbsdstat/bsdstat.c Tue Mar 11 00:25:55 2014 (r262991) +++ head/lib/libbsdstat/bsdstat.c Tue Mar 11 01:10:44 2014 (r262992) @@ -81,7 +81,7 @@ bsdstat_update_tot(struct bsdstat *sf) } static int -bsdstat_get(struct bsdstat *sf, int s, char b[], size_t bs) +bsdstat_get(struct bsdstat *sf, int s, char b[] __unused, size_t bs __unused) { fprintf(stderr, "%s: don't know how to get stat #%u\n", sf->name, s); return 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403110110.s2B1Ajkl069407>