-
-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STYLE: removed double semicolon on files I could #5135
base: master
Are you sure you want to change the base?
STYLE: removed double semicolon on files I could #5135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing a pull request! 🙏
Welcome to the ITK community! 🤗👋☀️
We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. 📜
More support and guidance on the contribution process can be found in our contributing guide. 📖
This is an automatic message. Allow for time for the ITK community to be able to read the pull request and comment
on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should revert changes to shell scripts.
@@ -172,7 +172,7 @@ fi | |||
case "$CXX" in | |||
gcc) | |||
kind="gcc" | |||
;; | |||
; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a shell script. As such, double semicolon has a special meaning, see e.g. https://stackoverflow.com/questions/16905183/dash-double-semicolon-syntax
So are most of the other files in this change list.
Modules/Filtering/GPUAnisotropicSmoothing/src/GPUGradientNDAnisotropicDiffusionFunction.cl
Show resolved
Hide resolved
@@ -99,11 +99,11 @@ check_whitespace() { | |||
sed 's/^[^:]*: whitespace: //') | |||
if $approx_tab_in_indent; then | |||
case ",$ws," in | |||
*,tab-in-indent,*) check_tab "$1" ;; | |||
*,tab-in-indent,*) check_tab "$1" ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most hooks are bash scripts, including this one.
--) shift; break ;; | ||
-*) usage ;; | ||
*) test -z "$remote" || usage ; remote="$1" ;; | ||
--no-topic) no_topic=1 ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also a bash script.
@@ -87,7 +87,7 @@ BuildInformation::GetValue(const MapKeyType & key) | |||
{ | |||
return it->second.m_Value; | |||
} | |||
return {};; | |||
return {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a C++ file, the changes here should be kept.
@sananthanarayan Please read our contributing guidelines: |
PR Checklist
Refer to the ITK Software Guide for
further development details if necessary.