-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per #2402, define and use a new SemiLatLonData::clear() to avoid a So…
…narQube finding.
- Loading branch information
1 parent
35c186d
commit f1e61fe
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,7 +173,7 @@ IsLatLon = false; | |
Nx = 0; | ||
Ny = 0; | ||
|
||
memset(&Data, 0, sizeof(Data)); | ||
Data.clear(); | ||
|
||
return; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ struct SemiLatLonData { | |
NumArray times; | ||
|
||
void dump(); | ||
void clear(); | ||
}; | ||
|
||
|
||
|