Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 10:34:34 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Peter Dufault <dufault@hda.com>
Cc:        Shimon@i-connect.net (Simon Shapiro), hackers@freebsd.org
Subject:   Re: Make World Explodes 
Message-ID:  <199707121734.KAA18014@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Sat, 12 Jul 1997 07:01:54 -0400 (EDT) 
 Peter Dufault <dufault@hda.com> wrote:

 > > int
 > > foo(int bar)
 > > {
 > >   int ospl;
 > > 
 > >   ...
 > > 
 > >   splx(ospl);
 > > }

...so, you're saying that you didn't initalize ospl with an spl*() call?

 > One of the truly great useful reasons for constructors/destructors.

Bah... -Wuninitialized.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707121734.KAA18014>