summaryrefslogtreecommitdiff
path: root/pyuno/doc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-10-21 12:36:08 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-10-21 14:05:51 +0200
commit22dfffe39ff1a61e73af9778e34ca40827d10da3 (patch)
tree004482351c4b80c9e8a0483dd0f33e25718ea8b0 /pyuno/doc
parent94ff79285a019b40027ec415b416ca217703728c (diff)
tdf#120703 (PVS): redundant nullptr checks; use range-based for
V668 There is no sense in testing the 'pRet' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. V1029 Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. V595 The 'pStData' pointer was utilized before it was verified against nullptr. Check lines: 6380, 6384. V1004 The 'pStData' pointer was used unsafely after it was verified against nullptr. Check lines: 6384, 6389. V668 There is no sense in testing the 'pData' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. Change-Id: I9110c25dee3751ddd9a875ea52969ec097730780 Reviewed-on: https://gerrit.libreoffice.org/62129 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'pyuno/doc')
0 files changed, 0 insertions, 0 deletions