summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-06 01:31:55 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:45 +0100
commit500dc0700136092692d1cceba4e5c1639bcfc825 (patch)
tree259834e8492eea23680ab7766a99b1daba5b0c99 /apt-pkg/acquire-item.h
parenta02db58fd50ef7fc2f0284852c6b3f98e458a232 (diff)
use SPtrArray handling instead of explicit delete[]
The warning message from gcc doesn't make that much sense in my reading as there is no loop which could overflow here, but it is better to use our SPtrArray wrapping anyway which fixes the warning as well. warning: cannot optimize loop, the loop counter may overflow [-Wunsafe-loop-optimizations] delete[] Dsc; Git-Dch: Ignore Reported-By: gcc -Wunsafe-loop-optimizations
Diffstat (limited to 'apt-pkg/acquire-item.h')
0 files changed, 0 insertions, 0 deletions