mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Fix uninitialized fields in HexdumpWidget and VisualNavbar
This commit is contained in:
parent
2d98943c13
commit
2293b608a8
@ -100,8 +100,8 @@ private:
|
|||||||
void updateParseWindow(RVA start_address, int size);
|
void updateParseWindow(RVA start_address, int size);
|
||||||
void clearParseWindow();
|
void clearParseWindow();
|
||||||
|
|
||||||
int bufferLines;
|
int bufferLines = 0;
|
||||||
int cols;
|
int cols = 0;
|
||||||
QAction syncAction;
|
QAction syncAction;
|
||||||
CutterSeekableWidget *seekable;
|
CutterSeekableWidget *seekable;
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ private:
|
|||||||
QList<MappedSegment> mappedSegments;
|
QList<MappedSegment> mappedSegments;
|
||||||
|
|
||||||
// Used to check whether the width changed. If yes we need to re-initialize the scene (slow)
|
// Used to check whether the width changed. If yes we need to re-initialize the scene (slow)
|
||||||
int previousWidth;
|
int previousWidth = -1;
|
||||||
void drawMetadata(QList<MappedSegmentMetadata> metadata,
|
void drawMetadata(QList<MappedSegmentMetadata> metadata,
|
||||||
RVA offset,
|
RVA offset,
|
||||||
double x,
|
double x,
|
||||||
|
Loading…
Reference in New Issue
Block a user