-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rest_vol_dataset: (fix) missing brackets and variable declaration. - Added the missing brackets when setting the variable nblocks. - Moved the declaration of ndims, new_extent and layout outside of the switch statement. If inside the switch statement the Intel OenAPI C compiler reports it as an error. A similar message is reported by the FOSS toolchain however the message is a warning message. * rest_vol_file: (fix) Variable declaration - Moved the declaration of the variable target_domain outside of the switch statement. If inside the switch statement Intel OneAPI C compiler will report it as an error. * rest_vol: (fix) Return variable and GCPL_buf - Change return value to FAIL in the case the filepath cannot be allocated. The NULL value is not allowed when using Intel OneAPI C compiler. - Ensure that freeing GCPL_buf is only done when it is allocated. * rest_vol_file, rest_vol_dataset: (fix) Variable declaration - As suggested make use of braces in the switch statement also solves the problem. Actually this is the better solution so make use of braces and moved the declarations back to their original position.
- Loading branch information
Jan-Willem Blokland
authored
Dec 6, 2023
1 parent
f4c06bd
commit f693c90
Showing
3 changed files
with
9 additions
and
7 deletions.
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
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