Project

General

Profile

Bug #3244 ยป illumos-3244-ret_val-uninitialized.patch

Igor Pashev, 2012-09-30 02:35 PM

View differences:

libc/illumos-gate/usr/src/cmd/utmpd/utmpd.c 2012-09-30 22:29:01.560180335 +0400
351 351
	register struct pollfd *pfd;
352 352
	register int i;
353 353
	pid_t pid;
354
	int ret_val;
354
	int ret_val = 0;
355 355
	int timeout;
356 356
	static time_t last_timeout  = 0;
357 357
	static int bad_error  = 0;	/* Count of POLL errors */
    (1-1/1)