Skip to content

Commit 0241f4c

Browse files
committed
GCC fix
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20321 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 582a988 commit 0241f4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OMEdit/OMEditGUI/Util/OMDumpXML.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ OMVariable::~OMVariable() {
239239

240240
OMEquation::OMEquation()
241241
{
242-
242+
profileBlock = -1;
243243
}
244244

245245
OMEquation::~OMEquation() {

OMEdit/OMEditGUI/Util/OMDumpXML.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ struct OMVariable {
174174

175175
struct OMEquation {
176176
OMEquationType kind;
177-
int index,profileBlock=-1,parent,ncall;
177+
int index,profileBlock,parent,ncall;
178178
double time,maxTime,fraction;
179179
QStringList text;
180180
OMInfo info;

0 commit comments

Comments
 (0)