reactos/dll/cpl/sysdm
Hermès Bélusca-Maïto ab8d7f2548
[SYSDM] Fix uninitialized variables warnings detected by Clang. (#3619)
CORE-17545

Addendum to commit d635ce0c.

dll/cpl/sysdm/general.c:156:25: warning: variable 'hCreditsDC' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
                    if (hDC == NULL)
                        ^~~~~~~~~~~
dll/cpl/sysdm/general.c:216:25: note: uninitialized use occurs here
                    if (hCreditsDC != NULL) DeleteDC(hCreditsDC);
                        ^~~~~~~~~~

and the same for hLogoDC:

dll/cpl/sysdm/general.c:215:25: note: uninitialized use occurs here
                    if (hLogoDC != NULL) DeleteDC(hLogoDC);
                        ^~~~~~~
2021-05-05 17:24:11 +02:00
..
lang [TRANSLATION] Chinese Traditional (zh-TW) translation update (#3526) 2021-04-11 10:59:19 +02:00
resources Revert "[SYSDM] Fix version string cutoff CORE-17429" 2021-02-01 07:32:14 +01:00
advanced.c
CMakeLists.txt
environment.c
general.c [SYSDM] Fix uninitialized variables warnings detected by Clang. (#3619) 2021-05-05 17:24:11 +02:00
hardprof.c
hardware.c
licence.c
precomp.h [SYSDM] Better formatting of user profile size 2020-08-17 03:18:01 +03:00
resource.h Revert "[SYSDM] Fix version string cutoff CORE-17429" 2021-02-01 07:32:14 +01:00
smbios.c
startrec.c
sysdm.c [SYSDM] Set the proper icon in title bar 2020-06-27 10:22:07 +02:00
sysdm.rc [SYSDM] Move IDS_DEVS to the LANG_NEUTRAL resources to deduplicate it. 2021-02-01 07:32:14 +01:00
sysdm.spec
userprofile.c [SYSDM] Better formatting of user profile size 2020-08-17 03:18:01 +03:00
virtmem.c [SYSDM] Localize hardcoded megabyte units 2020-08-17 14:18:09 +03:00