Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KPMCore
Commits
00e6b77c
Commit
00e6b77c
authored
Aug 28, 2021
by
Artem Grinev
Browse files
Initialize all fields in Partition
parent
f4664671
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/partition.h
View file @
00e6b77c
...
...
@@ -264,25 +264,25 @@ private:
m_Number
=
n
;
}
qint32
m_Number
;
qint32
m_Number
=
0
;
Partitions
m_Children
;
QPointer
<
PartitionNode
>
m_Parent
;
FileSystem
*
m_FileSystem
;
QPointer
<
PartitionNode
>
m_Parent
=
nullptr
;
FileSystem
*
m_FileSystem
=
nullptr
;
PartitionRole
m_Roles
;
qint64
m_FirstSector
;
qint64
m_LastSector
;
qint64
m_FirstSector
=
0
;
qint64
m_LastSector
=
0
;
QString
m_DevicePath
;
QString
m_Label
;
QString
m_Type
;
QString
m_UUID
;
quint64
m_Attributes
;
quint64
m_Attributes
=
0
;
QString
m_PartitionPath
;
QString
m_MountPoint
;
PartitionTable
::
Flags
m_AvailableFlags
;
PartitionTable
::
Flags
m_ActiveFlags
;
bool
m_IsMounted
;
qint64
m_SectorSize
;
State
m_State
;
bool
m_IsMounted
=
false
;
qint64
m_SectorSize
=
0
;
State
m_State
=
None
;
};
QTextStream
&
operator
<<
(
QTextStream
&
stream
,
const
Partition
&
p
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment