xserver/hw
Enrico Weigelt, metux IT consult 080d513b88 xwin: fix unitialized variables
> ../hw/xwin/winclipboard/xevents.c: In function ‘winClipboardSelectionNotifyData.constprop’:
> ../hw/xwin/winclipboard/xevents.c:313:23: warning: ‘codepage’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>   313 |     int iUnicodeLen = MultiByteToWideChar(codepage, 0,
>       |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   314 |                                           pszReturnData, -1, NULL, 0);
>       |                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ../hw/xwin/winclipboard/xevents.c: In function ‘winClipboardFlushXEvents’:
> ../hw/xwin/winclipboard/xevents.c:550:35: warning: ‘codepage’ may be used uninitialized in this function [-Wmaybe-uninitialized]
>   550 |             int iConvertDataLen = WideCharToMultiByte(codepage, 0,
>       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   551 |                                                       (LPCWSTR) pszGlobalData, -1,
>       |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   552 |                                                       NULL, 0, NULL, NULL);
>       |                                                       ~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:42 +02:00
..
kdrive kdrive: use calloc() instead of malloc() 2025-06-12 16:49:52 +02:00
vfb vfb: use calloc() instead of malloc() 2025-06-12 16:49:54 +02:00
xfree86 os-support: systemd-logind: don't hard-crash Xserver on strdup() fail 2025-06-12 16:54:39 +02:00
xnest Xnest: drop special hack for Xlib's GC type 2025-06-12 16:52:28 +02:00
xquartz treewide: drop COMPOSITE symbol 2025-06-12 16:47:01 +02:00
xwayland dix: add dixResouceIsServerOwned() 2025-06-12 16:53:40 +02:00
xwin xwin: fix unitialized variables 2025-06-12 17:21:42 +02:00
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00