evolution-3.6.4/modules/tnef-attachment/evolution-module-tnef-attachment.c

No issues found

Incomplete coverage

Tool Failure ID Location Function Message Data
clang-analyzer no-output-found evolution-module-tnef-attachment.c Message(text='Unable to locate XML output from invoke-clang-analyzer') None
clang-analyzer no-output-found evolution-module-tnef-attachment.c Message(text='Unable to locate XML output from invoke-clang-analyzer') None
Failure running clang-analyzer ('no-output-found')
Message
Unable to locate XML output from invoke-clang-analyzer
Failure running clang-analyzer ('no-output-found')
Message
Unable to locate XML output from invoke-clang-analyzer
 1 /*
 2  * evolution-module-tnef-attachment.c
 3  *
 4  * This program is free software; you can redistribute it and/or
 5  * modify it under the terms of the GNU Lesser General Public
 6  * License as published by the Free Software Foundation; either
 7  * version 2 of the License, or (at your option) version 3.
 8  *
 9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
16  *
17  */
18 
19 #include "e-mail-parser-tnef-attachment.h"
20 
21 #include <gmodule.h>
22 
23 void e_module_load (GTypeModule *type_module);
24 void e_module_unload (GTypeModule *type_module);
25 const gchar * g_module_check_init (GModule *module);
26 
27 G_MODULE_EXPORT void
28 e_module_load (GTypeModule *type_module)
29 {
30 	/* Register dynamically loaded types. */
31 
32 	e_mail_parser_tnef_attachment_type_register (type_module);
33 }
34 
35 G_MODULE_EXPORT void
36 e_module_unload (GTypeModule *type_module)
37 {
38 }
39 
40 G_MODULE_EXPORT const gchar *
41 g_module_check_init (GModule *module)
42 {
43 	/* FIXME Until mail is split into a module library and a
44 	 *       reusable shared library, prevent the module from
45 	 *       being unloaded.  Unloading the module resets all
46 	 *       static variables, which screws up foo_get_type()
47 	 *       functions among other things. */
48 	g_module_make_resident (module);
49 
50 	return NULL;
51 }