qulogic/gplugin

Ignore V568 globally with the new pvs-studio image
draft bugfix/pvs-studio-false-positive-v568
2020-05-12, Gary Kramlich
799bafb54192
Parents c0a9a277099b
Children a62c335ecaee
Ignore V568 globally with the new pvs-studio image
--- a/convey.yml Tue May 12 00:00:05 2020 -0500
+++ b/convey.yml Tue May 12 00:15:59 2020 -0500
@@ -209,6 +209,7 @@
- TARGET=pvs-studio
- PVS_STUDIO_USERNAME
- PVS_STUDIO_KEY
+ - PVS_IGNORED_CODES=V568
stages:
- tasks: [import, build-target]
- tasks: [export-target]
--- a/gplugin/gplugin-manager.c Tue May 12 00:00:05 2020 -0500
+++ b/gplugin/gplugin-manager.c Tue May 12 00:15:59 2020 -0500
@@ -1799,8 +1799,8 @@
/* plugin_b has a newer version, so set the plugin_a pointers to
* the plugin_b pointers as well as the version pointers.
*/
- g_set_object(&plugin_a, plugin_b); //-V568
- g_set_object(&info_a, info_b); //-V568
+ g_set_object(&plugin_a, plugin_b);
+ g_set_object(&info_a, info_b);
version_a = version_b;
}