summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-02 18:18:37 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-03 13:49:45 +0200
commit6afe25b56467b228fdd7c045d1062b12c0408e7c (patch)
tree538735e80d574319b74e8642f6d0fdf2c2003714 /apt-pkg/pkgcache.h
parent2e49f51915d07a6ad85c7ee4380a1e51afaa3a17 (diff)
remove 100-levels config nesting limit
The actual reason for this commit isn't the limit – there isn't much point in using that much nesting – its in shutting up gcc mostly: apt/apt-pkg/contrib/configuration.cc: In function ‘bool ReadConfigFile(Configuration&, const string&, const bool&, const unsigned int&)’: apt/apt-pkg/contrib/configuration.cc:686:20: warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations] string Stack[100]; ^ by replacing this with C++s handy std::stack container (adapter). Also cleans some whitespace noise from the file in the process.
Diffstat (limited to 'apt-pkg/pkgcache.h')
0 files changed, 0 insertions, 0 deletions