Bernhard Miklautz
|
0cdb4f7924
|
Fix compiler warnings
gcc (Debian 4.9.2-10) 4.9.2
winpr/libwinpr/thread/argv.c: In function ‘CommandLineToArgvA’:
winpr/libwinpr/thread/argv.c:94:6: warning: unused variable ‘index’ [-Wunused-variable]
int index;
winpr/libwinpr/file/test/TestFileGetStdHandle.c: In function ‘TestFileGetStdHandle’:
winpr/libwinpr/file/test/TestFileGetStdHandle.c:44:2: warning: implicit
declaration of function ‘CloseHandle’ [-Wimplicit-function-declaration]
CloseHandle(stdout);
^
libfreerdp/codec/test/TestFreeRDPRegion.c: In function ‘test_norbert2_case’:
libfreerdp/codec/test/TestFreeRDPRegion.c:697:6: warning: unused variable ‘i’ [-Wunused-variable]
int i;
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_receive_format_list’:
channels/cliprdr/server/cliprdr_main.c:636:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
^
channels/cliprdr/server/cliprdr_main.c: In function ‘cliprdr_server_init’:
channels/cliprdr/server/cliprdr_main.c:1097:24: warning: unused variable ‘cliprdr’ [-Wunused-variable]
CliprdrServerPrivate* cliprdr = (CliprdrServerPrivate*) context->handle;
|
2015-11-09 19:26:34 +01:00 |
|
Norbert Federa
|
d6b5b906f4
|
winpr/argv: fix CommandLineToArgvA memory access
- fixed access of unitialized memory beyond terminating null
- minor simplifications
|
2015-11-05 18:10:05 +01:00 |
|
Norbert Federa
|
1eff1a345e
|
free can handle NULL perfectly fine
|
2015-05-11 09:07:39 +02:00 |
|
Bernhard Miklautz
|
850de59b55
|
winpr: add checks for *alloc
Add missing checks if memory allocation was successful. Also adapt
caller(s) when possible.
|
2015-04-08 11:34:37 +02:00 |
|
Armin Novak
|
b22b897389
|
Reformatted changed files.
|
2014-09-09 16:32:22 +02:00 |
|
Armin Novak
|
7e3a1b3073
|
Now using macro to generate module specific log tag.
|
2014-09-09 16:32:04 +02:00 |
|
Armin Novak
|
28ece6bb46
|
Replaced stdio logging with WLog
|
2014-09-09 16:31:46 +02:00 |
|
Marc-André Moreau
|
7ec19ac0f2
|
libwinpr-thread: fix build on Windows
|
2013-09-25 15:47:18 -04:00 |
|
Marc-André Moreau
|
8d142eb85f
|
libwinpr-thread: initial CreateProcess() implementation
|
2013-09-22 17:23:00 -04:00 |
|
Marc-André Moreau
|
bb9db97204
|
libwinpr-thread: improve CommandLineToArgv completeness
|
2013-09-21 20:05:14 -04:00 |
|
Marc-André Moreau
|
83e124f909
|
libwinpr-thread: partial support for character escaping in CommandLineToArgv
|
2013-09-21 19:49:00 -04:00 |
|
Marc-André Moreau
|
56672023db
|
libwinpr-thread: start implementing CommandLineToArgv
|
2013-09-21 17:16:49 -04:00 |
|