Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
third-party
moab
Commits
81e4f023
Commit
81e4f023
authored
Oct 12, 2016
by
Rajeev Jain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o Fix a couple of warnings -is used uninitialized whenever 'if'
condition is false [-Wsometimes-uninitialized]
parent
5fea31a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/iMOAB.cpp
src/iMOAB.cpp
+3
-3
No files found.
src/iMOAB.cpp
View file @
81e4f023
...
...
@@ -208,7 +208,7 @@ ErrCode iMOAB_RegisterFortranApplication( const iMOAB_String app_name,
ErrCode
iMOAB_DeregisterApplication
(
iMOAB_AppID
pid
)
{
// the file set , parallel comm are all in vectors indexed by *pid
// the file set , parallel comm are all in vectors indexed by *pid
// assume we did not delete anything yet
// *pid will not be reused if we register another application
...
...
@@ -1052,7 +1052,7 @@ ErrCode iMOAB_SetDoubleTagStorage(iMOAB_AppID pid, const iMOAB_String tag_storag
return
1
;
// set it on a subset of entities, based on type and length
Range
*
ents_to_set
;
Range
*
ents_to_set
=
NULL
;
if
(
*
ent_type
==
0
)
// vertices
ents_to_set
=
&
data
.
all_verts
;
else
if
(
*
ent_type
==
1
)
...
...
@@ -1097,7 +1097,7 @@ ErrCode iMOAB_GetDoubleTagStorage(iMOAB_AppID pid, const iMOAB_String tag_storag
return
1
;
// set it on a subset of entities, based on type and length
Range
*
ents_to_get
;
Range
*
ents_to_get
=
NULL
;
if
(
*
ent_type
==
0
)
// vertices
ents_to_get
=
&
data
.
all_verts
;
else
if
(
*
ent_type
==
1
)
...
...
Write
Preview
Markdown
is supported
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