mmap over file end - warning true after all?

David Nolden zwabel at
Thu Sep 2 14:30:39 UTC 2010

> Is there anything preventing us from initializing the 'unused' parts with 0
> or -1 or whatever dummy value? As far as I understood Qt devs (in
> particular Thiago I believe) won't remove the warning, so if its as easy as
> initializing to some random value then we should do that to silence the
> warning (as people will be looking at that and pointing fingers our
> direction).

That would only silence valgrind, and is not related to the mmap
warnings. And it feels like unneeded runtime-effort, we can simply
ignore those valgrind warnings in ItemRepositoryBucket::store.

Greetings, David

More information about the KDevelop-devel mailing list