src cunix cunix 40 warning Obsolete function alloca called In C99 and

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[src/cunix/cunix.c:40]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead.
[src/lkm/file_plugin/file_access.c:149]: (portability) 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined.
[src/lkm/file_plugin/file_access.c:178]: (portability) 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined.
[src/pam_module/handling.c:86]: (warning) Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead.
[src/workplaceagent/agenthosts/plugins/activewindowplugin/activewindowplugin.h:31]: (performance) Function parameter 'f' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/audioplugin/recorder.h:33]: (performance) Function parameter 's' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/audioplugin/encoder.cpp:7]: (performance) Function parameter 'hdr' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/audioplugin/recorder.cpp:15]: (performance) Variable 'account_' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/audioplugin/recorder.cpp:9]: (performance) Function parameter 'account' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/audioplugin/wavrecorder.cpp:56]: (performance) Variable 'deviceId_' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:36]: (performance) Possible inefficient checking for 'threads' emptiness.
[src/workplaceagent/agenthosts/plugins/httpsplugin/httpsplugin.cpp:79]: (performance) Function parameter 'domains' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/plugin/plugin.cpp:46]: (performance) Function parameter 'ext' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/printerplugin/printerplugin.cpp:27]: (warning) Member variable 'PrinterPlugin::isEnabled' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/printerplugin/printerplugin.cpp:27]: (warning) Member variable 'PrinterPlugin::globalBlock' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/printerplugin/printerplugin.cpp:27]: (warning) Member variable 'PrinterPlugin::globalShadowCopy' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/telegramplugin/parser.cpp:103]: (performance) Function parameter 's' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/parser.cpp:160]: (performance) Function parameter 'value' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/printerplugin/printerplugin.h:18]: (performance) Function parameter 'msg' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/viberplugin/viberplugin.cpp:121]: (performance) Function parameter 'accName' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:17]: (warning) Member variable 'TelegramPlugin::enabled_' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:17]: (warning) Member variable 'TelegramPlugin::lastMessageTime' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:49]: (warning) Member variable 'TelegramMessage::isSender' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:49]: (warning) Member variable 'TelegramMessage::isChat' is not initialized in the constructor.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:50]: (performance) Variable 'content' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:51]: (performance) Variable 'userName' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:56]: (performance) Variable 'from' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:57]: (performance) Variable 'to' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:58]: (performance) Variable 'chatID' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:66]: (performance) Variable 'from' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:67]: (performance) Variable 'to' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:68]: (performance) Variable 'content' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:71]: (performance) Variable 'chatID' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.h:29]: (warning) The struct 'TelegramOpenedFile' has 'operator=' but lack of 'copy constructor'.
[src/workplaceagent/utils/utils.h:23]: (performance) Variable 'msg_' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/utils/utils.h:24]: (performance) Variable 'display_' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/utils/utils.h:21]: (performance) Function parameter 'message' should be passed by reference.
[src/workplaceagent/utils/utils.h:21]: (performance) Function parameter 'display' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:418]: (performance) Function parameter 'msg' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:475]: (performance) Function parameter 'a' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:475]: (performance) Function parameter 'b' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:672]: (performance) Function parameter 'from' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:672]: (performance) Function parameter 'to' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:672]: (performance) Function parameter 'chatID' should be passed by reference.
[src/workplaceagent/agenthosts/plugins/telegramplugin/telegramplugin.cpp:591]: (performance) Possible inefficient checking for 'lst' emptiness.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:34]: (style) 'SkypeOpenedFile::operator=' should return 'SkypeOpenedFile &'.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:48]: (performance) Variable 'content' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:49]: (performance) Variable 'from' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:50]: (performance) Variable 'to' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:51]: (performance) Variable 'chatID' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:71]: (performance) Variable 'from' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:72]: (performance) Variable 'to' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:73]: (performance) Variable 'chatID' is assigned in constructor body. Consider performing initialization in initialization list.
[src/workplaceagent/agenthosts/plugins/skypeplugin/skypeplugin.h:26]: (warning) The struct 'SkypeOpenedFile' has 'operator=' but lack of 'copy constructor'.
[src/workplaceagent/coreservice/coreservice.cpp:385] -> [src/workplaceagent/coreservice/coreservice.cpp:381]: (error) Iterator 'it' used after element has been erased.