Hi,
Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. 2 new defect(s) introduced to digiKam found with Coverity Scan. 3 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1458162: Low impact quality (MISSING_MOVE_ASSIGNMENT) /mnt/devel/GIT/7.x/core/libs/dngwriter/extra/dng_sdk/dng_string.h: 26 in () ________________________________________________________________________________________________________ *** CID 1458162: Low impact quality (MISSING_MOVE_ASSIGNMENT) /mnt/devel/GIT/7.x/core/libs/dngwriter/extra/dng_sdk/dng_string.h: 26 in () 20 21 #include "dng_types.h" 22 #include "dng_memory.h" 23 24 /*****************************************************************************/ 25 >>> CID 1458162: Low impact quality (MISSING_MOVE_ASSIGNMENT) >>> Class "dng_string" may benefit from adding a move assignment operator. See other events which show the copy assignment operator being applied to rvalue(s), where a move assignment may be faster. 26 class dng_string 27 { 28 29 private: 30 31 // Always stored internally as a UTF-8 encoded string. ** CID 1458161: Low impact quality (MISSING_MOVE_ASSIGNMENT) /mnt/devel/GIT/7.x/core/libs/dngwriter/extra/dng_sdk/dng_memory.h: 33 in () ________________________________________________________________________________________________________ *** CID 1458161: Low impact quality (MISSING_MOVE_ASSIGNMENT) /mnt/devel/GIT/7.x/core/libs/dngwriter/extra/dng_sdk/dng_memory.h: 33 in () 27 28 /// \brief Class to provide resource acquisition is instantiation discipline 29 /// for small memory allocations. 30 /// 31 /// This class does not use dng_memory_allocator for memory allocation. 32 >>> CID 1458161: Low impact quality (MISSING_MOVE_ASSIGNMENT) >>> Class "dng_memory_data" may benefit from adding a move assignment operator. See other events which show the copy assignment operator being applied to rvalue(s), where a move assignment may be faster. 33 class dng_memory_data 34 { 35 36 private: 37 38 void *fBuffer; ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExFxByfkNnczn62-2Fi7fqgWZX-2BbNxhtyL5c9g-2BPgAq7MT77OPXJ5d6pc1EDZ78vhX68-3DcJQT_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADV4TKgqiAlXDKrbjkU1qIsJrqdrzJDALGNvv9ljhiw60MULwx-2BQYAgAOOgWOLNHj6AlfF8ZDj3dEbwh5DRNsrYpDL4YLHbVWE-2BsSy6kdeRbukIFUft1LUC9KSkhm0D7vdhImBpANKCqGDVx6B9bipb86CoH4AX-2FvMThuvMQViUJZzY47KkYlC9nahvedU8gger55hDkMvcTjuCtb6D-2Ba9vy |
Free forum by Nabble | Edit this page |