mmap over file end - warning true after all?

Andreas Pakulat apaku at
Thu Sep 2 14:48:45 UTC 2010

On 02.09.10 16:30:39, David Nolden wrote:
> > 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.

So there's no way to silence the warnings from QFile? Hmm, too bad.


You will probably marry after a very brief courtship.

More information about the KDevelop-devel mailing list