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
turn getenv into std::getenv for all cmssw residual occurencies #28124
Conversation
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28124/12165
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28124/12166
|
A new Pull Request was created by @fabiocos (Fabio Cossutti) for master. It involves the following packages: Alignment/OfflineValidation @SiewYan, @andrius-k, @emeschi, @schneiml, @ianna, @rekovic, @fioriNTU, @tlampen, @alberto-sanchez, @pohsun, @santocch, @perrotta, @civanch, @cmsbuild, @agrohsje, @smuzaffar, @Dr15Jones, @cvuosalo, @efeyazgan, @mdhildreth, @jfernan2, @tocheng, @slava77, @ggovi, @qliphy, @benkrikler, @mkirsano, @kmaeshima, @christopheralanwest, @alja, @franzoni, @mommsen can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1
|
+1 |
@@ -22,7 +22,7 @@ void DDExpandedViewDump(ostream& os, DDExpandedView& ex, size_t skip, size_t sto | |||
bool go(true); | |||
int count(0); | |||
bool dotrans(true); | |||
if (getenv("DDNOTRANS")) | |||
if (std::getenv("DDNOTRANS")) |
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.
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.
@ianna in this specific case it looks redundant, although not incorrect I would say
+1 |
+1 |
+1 |
+1 |
+1 |
PR description:
This PR addresses #28073 , following #28117 that fixes it for the FWCore area.
PR validation:
The code compiles.