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

Constant zero is passed as the length to memset fn. in MallocExtension::MallocMemoryStats fn. #25

Closed
GoogleCodeExporter opened this issue May 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Compile in VC7.1
2.
3.

What is the expected output? What do you see instead?
\GoogleCode\perftools\src\malloc_extension.cc(104) : warning C4318: passing
constant zero as the length to memset

What version of the product are you using? On what operating system?
VC7.1.3088 in Windows 2003

Please provide any additional information below.
It should be "memset(histogram, 0, sizeof(histogram));"

Original issue reported on code.google.com by muthuni...@gmail.com on 5 Aug 2007 at 6:45

@GoogleCodeExporter
Copy link
Author

We've investigated this bug and determined it's real, but luckily harmless.  It 
will
be fixed in the next release (which I hope will be soon)!

Original comment by csilv...@gmail.com on 6 Aug 2007 at 4:19

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Fixed in perftools 0.93

Original comment by csilv...@gmail.com on 17 Aug 2007 at 9:34

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant