[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Uninitialised variable in KateViewInternal
From: Dave Corrie <kde () davecorrie ! com>
Date: 2002-03-21 1:01:52
[Download RAW message or body]
Hi,
I've been playing with valgrind a little and came across a place where a
variable was used before it was initialised.
KateView::KateView uses KateViewInternal::iconBorderHeight, but for some
reason the initialisation of iconBorderHeight is commented out in the
KateViewInternal constructor.
Here's the valgrind output:
Use of uninitialised CPU condition code
at 0x40C13063: QWidget::internalSetGeometry(int, int, int, int, bool)=
(kernel/qwidget_x11.cpp:1811)
by 0x40CA9087: QWidget::setGeometry(int, int, int, int) (kernel/qwidg=
et.cpp:3293)
by 0x45F1459F: KateView::KateView(KateDocument *, QWidget *, char con=
st *) (kateview.cpp:1357)
by 0x45EF288A: KateDocument::createView(QWidget *, char const *) (kat=
edocument.cpp:395)
Cheers,
Dave
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic