diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-06 01:31:55 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | 500dc0700136092692d1cceba4e5c1639bcfc825 (patch) | |
tree | 259834e8492eea23680ab7766a99b1daba5b0c99 /apt-pkg | |
parent | a02db58fd50ef7fc2f0284852c6b3f98e458a232 (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')
0 files changed, 0 insertions, 0 deletions