Skip to content

Commit

Permalink
[openmp] Remove extra ';' outside of function
Browse files Browse the repository at this point in the history
Fixes:
```
[4038/11058] Building CXX object projects/openmp/libomptarget/src/CMakeFiles/omptarget.dir/OpenMP/InteropAPI.cpp.o
/home/aganea/llvm-project/openmp/libomptarget/src/OpenMP/InteropAPI.cpp:202:2: warning: extra ';' outside of a function is incompatible with C++98 [-Wc++98-compat-extra-semi]
};
 ^
1 warning generated.
```
  • Loading branch information
aganea committed Jan 17, 2024
1 parent e6bd983 commit c5bbf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/libomptarget/src/OpenMP/InteropAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ static const char *copyErrorString(llvm::Error &&Err) {
char *UsrMsg = reinterpret_cast<char *>(malloc(ErrMsg.size() + 1));
strcpy(UsrMsg, ErrMsg.c_str());
return UsrMsg;
};
}

extern "C" {

Expand Down

0 comments on commit c5bbf40

Please sign in to comment.