xserver/hw
Enrico Weigelt, metux IT consult 2e77f0fc41 (1889) 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-03 11:37:35 +02:00
..
kdrive (!1909) kdrive: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
vfb (!1909) vfb: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
xfree86 (!1896) os-support: systemd-logind: don't hard-crash Xserver on strdup() fail 2025-06-03 11:37:34 +02:00
xnest (!1393) Xnest: drop special hack for Xlib's GC type 2025-06-03 11:37:34 +02:00
xquartz (!1944) treewide: drop COMPOSITE symbol 2025-06-03 11:37:33 +02:00
xwayland (!1899) dix: add dixResouceIsServerOwned() 2025-06-03 11:37:34 +02:00
xwin (1889) xwin: fix unitialized variables 2025-06-03 11:37:35 +02:00
meson.build meson.build: print a summary of the DDX to build 2025-03-24 03:05:35 +00:00