mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-24 05:45:27 +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 clearParseWindow();
|
||||
|
||||
int bufferLines;
|
||||
int cols;
|
||||
int bufferLines = 0;
|
||||
int cols = 0;
|
||||
QAction syncAction;
|
||||
CutterSeekableWidget *seekable;
|
||||
|
||||
|
@ -61,7 +61,7 @@ private:
|
||||
QList<MappedSegment> mappedSegments;
|
||||
|
||||
// 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,
|
||||
RVA offset,
|
||||
double x,
|
||||
|
Loading…
Reference in New Issue
Block a user