summaryrefslogtreecommitdiff
path: root/tests/usr.bin/xlint/lint1/msg_231.c
blob: 19ceaafa7e907009c8939d98169ea50eee65d27e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$NetBSD: msg_231.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
# 3 "msg_231.c"

// Test for message: argument '%s' unused in function '%s' [231]

/* lint1-extra-flags: -X 351 */

/* expect+2: warning: argument 'param' unused in function 'example' [231] */
void
example(int param)
{
	/* expect+1: warning: 'local' unused in function 'example' [192] */
	int local;
}
'>Finally commit the RAIDframe parity map Summer Of Code project.jld 2009-01-18add compat50 ioctls.christos 2008-04-28Remove clause 3 and 4 from TNF licensesmartin 2005-12-11merge ktrace-lwp.christos 2005-02-27nuke trailing whitespaceperry 2001-10-04Step 1 of the disentangling of RAIDframe's .h files:oster