[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KateBufBlock::m_codec sometimes used uninitialised
From: Simon Hausmann <hausmann () kde ! org>
Date: 2002-02-08 11:07:39
[Download RAW message or body]
On Sun, Feb 03, 2002 at 07:39:13PM +0000, Julian Seward wrote:
>
> Use of uninitialised CPU condition code
> at 0x471A4196: KateBuffer::parseBlock(KateBufBlock *) (katebuffer.cpp:446)
> by 0x471A3B58: KateBuffer::line(unsigned int) (katebuffer.cpp:343)
> by 0x471C684B: KateDocument::updateLines(int, int) (../../kdecore/ksharedptr.h:126)
> by 0x471C1C3E: KateDocument::makeAttribs() (katedocument.cpp:2302)
>
> and indeed KateBufBlock::KateBufBlock(const KateBufState &)
> (the only constructor I could find) doesn't give it a value.
> I did the obvious thing, shown below, and the warning went away.
Ouch, UMRs are evil. Applied to the repository. Thanks a lot for
reporting!
Now, tell us, what's this magic tool you're using? :-)
Simon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic