Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/*	$NetBSD: msg_307.c,v 1.4 2022/06/11 11:52:13 rillig Exp $	*/
# 3 "msg_307.c"

// Test for message: static variable '%s' set but not used [307]

/* expect+1: warning: static variable 'set_but_not_used' set but not used [307] */
static int set_but_not_used;

static int only_incremented;

void function(void)
{
	set_but_not_used = 3;
	only_incremented++;
}