A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[sonar] Redundant parentheses.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_file.cpp
diff --git
a/src/smpi/mpi/smpi_file.cpp
b/src/smpi/mpi/smpi_file.cpp
index
8bdbc70
..
9dc8f69
100644
(file)
--- a/
src/smpi/mpi/smpi_file.cpp
+++ b/
src/smpi/mpi/smpi_file.cpp
@@
-121,15
+121,15
@@
namespace smpi{
int File::seek(MPI_Offset offset, int whence){
switch(whence){
int File::seek(MPI_Offset offset, int whence){
switch(whence){
- case
(MPI_SEEK_SET)
:
+ case
MPI_SEEK_SET
:
XBT_VERB("Seeking in MPI_File %s, setting offset %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_SET);
break;
XBT_VERB("Seeking in MPI_File %s, setting offset %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_SET);
break;
- case
(MPI_SEEK_CUR)
:
+ case
MPI_SEEK_CUR
:
XBT_VERB("Seeking in MPI_File %s, current offset + %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_CUR);
break;
XBT_VERB("Seeking in MPI_File %s, current offset + %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_CUR);
break;
- case
(MPI_SEEK_END)
:
+ case
MPI_SEEK_END
:
XBT_VERB("Seeking in MPI_File %s, end offset + %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_END);
break;
XBT_VERB("Seeking in MPI_File %s, end offset + %lld", file_->get_path(), offset);
file_->seek(offset,SEEK_END);
break;