From: jsg Date: Tue, 6 Jan 2015 01:49:45 +0000 (+0000) Subject: init a potentially uninitialised var in pf_postprocess_addr X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d9e07e8a393448a43706b9714245e4908b2d2fb5;p=openbsd init a potentially uninitialised var in pf_postprocess_addr ok mikeb@ henning@ --- diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c index 29cd783667a..0d17256b6d5 100644 --- a/sys/net/pf_lb.c +++ b/sys/net/pf_lb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_lb.c,v 1.40 2014/12/19 17:14:40 tedu Exp $ */ +/* $OpenBSD: pf_lb.c,v 1.41 2015/01/06 01:49:45 jsg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -818,7 +818,7 @@ pf_postprocess_addr(struct pf_state *cur) struct pf_state_key *sks; struct pf_pool rpool; struct pf_addr lookup_addr; - int slbcount; + int slbcount = -1; nr = cur->natrule.ptr;