evolution-3.6.4/modules/audio-inline/evolution-module-audio-inline.c

No issues found

Incomplete coverage

Tool Failure ID Location Function Message Data
clang-analyzer no-output-found evolution-module-audio-inline.c Message(text='Unable to locate XML output from invoke-clang-analyzer') None
clang-analyzer no-output-found evolution-module-audio-inline.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-audio-inline.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-formatter-audio-inline.h"
20 #include "e-mail-parser-audio-inline.h"
21 
22 #include <gmodule.h>
23 
24 void e_module_load (GTypeModule *type_module);
25 void e_module_unload (GTypeModule *type_module);
26 const gchar * g_module_check_init (GModule *module);
27 
28 G_MODULE_EXPORT void
29 e_module_load (GTypeModule *type_module)
30 {
31 	/* Register dynamically loaded types. */
32 
33 	e_mail_parser_audio_inline_type_register (type_module);
34 	e_mail_formatter_audio_inline_type_register (type_module);
35 }
36 
37 G_MODULE_EXPORT void
38 e_module_unload (GTypeModule *type_module)
39 {
40 }
41 
42 G_MODULE_EXPORT const gchar *
43 g_module_check_init (GModule *module)
44 {
45 	/* FIXME Until mail is split into a module library and a
46 	 *       reusable shared library, prevent the module from
47 	 *       being unloaded.  Unloading the module resets all
48 	 *       static variables, which screws up foo_get_type()
49 	 *       functions among other things. */
50 	g_module_make_resident (module);
51 
52 	return NULL;
53 }