diff options
author | Julian Andres Klode <jak@debian.org> | 2016-03-19 01:56:38 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-03-19 07:19:24 +0100 |
commit | f40fdaa43271edf98b80c08e20f401b5da591501 (patch) | |
tree | 11fc9ad9daaf7ba0223688fcff90a5332e1916b6 /cmdline/apt-sortpkgs.cc | |
parent | 03bcd80f2680f0f52902665f4efe7ac83fd2aef0 (diff) |
cachefile: Only set members that were initialized successfully
Otherwise, things will just start failing later down the stack,
because (a) the lazy getters do not check if building was successful
and (b) any further getter call would return the invalid object
anyway.
Also initialize VS in pkgCache to nullptr by default.
Closes: #818628
Diffstat (limited to 'cmdline/apt-sortpkgs.cc')
0 files changed, 0 insertions, 0 deletions