Skip to content
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

gcc7 compilation warnings fix in HLTrigger/Timer pkg #19919

Merged
merged 1 commit into from Jul 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion HLTrigger/Timer/test/chrono/src/x86_tsc.cc
Expand Up @@ -172,7 +172,7 @@ extern "C" {

if (has_tsc()) {
// if the TSC is available, chck the processor vendor
unsigned int eax, ebx, ecx, edx;
unsigned int eax = 0, ebx = 0, ecx = 0, edx = 0;
__get_cpuid(0x00, & eax, & ebx, & ecx, & edx);
if (ebx == _("Genu") and edx == _("ineI") and ecx == _("ntel"))
// for Intel processors, LFENCE can be used as a serialising instruction before RDTSC
Expand Down