summaryrefslogtreecommitdiff
path: root/apt-private/private-utils.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-03-19 01:56:38 +0100
committerJulian Andres Klode <jak@debian.org>2016-03-19 07:19:24 +0100
commitf40fdaa43271edf98b80c08e20f401b5da591501 (patch)
tree11fc9ad9daaf7ba0223688fcff90a5332e1916b6 /apt-private/private-utils.h
parent03bcd80f2680f0f52902665f4efe7ac83fd2aef0 (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 'apt-private/private-utils.h')
0 files changed, 0 insertions, 0 deletions