RtlFindLongestRunClear(PRTL_BITMAP BitMapHeader,
PULONG StartingIndex)
{
- RTL_BITMAP_RUN br;
+ /* GCC complaints that it may be used uninitialized */
+ RTL_BITMAP_RUN br = { 0, 0 };
if (RtlFindClearRuns(BitMapHeader, &br, 1, TRUE) == 1)
{
RtlFindLongestRunSet(PRTL_BITMAP BitMapHeader,
PULONG StartingIndex)
{
- RTL_BITMAP_RUN br;
+ /* GCC complaints that it may be used uninitialized */
+ RTL_BITMAP_RUN br = { 0, 0 };
if (NTDLL_FindRuns(BitMapHeader, &br, 1, TRUE, NTDLL_FindSetRun) == 1)
{
int saved_seconds;
time_t newt;
time_t t;
- struct tm yourtm, mytm;
+
+ /* GCC complaints that it may be used uninitialized */
+ struct tm yourtm, mytm = { 0, 0, 0, 0, 0, 0, 0, 0, 0 };
*okayp = FALSE;
yourtm = *tmp;
REG_DELETE_VALUE_KEY_INFORMATION DeleteValueKeyInfo;
REG_POST_OPERATION_INFORMATION PostOperationInfo;
KPROCESSOR_MODE PreviousMode = ExGetPreviousMode();
- UNICODE_STRING ValueNameCopy = *ValueName;
+
+ /* Workaround for GCC 4.4.0 bug #38271 */
+ UNICODE_STRING ValueNameCopy = { 0, 0, NULL };
+ ValueNameCopy = *ValueName;
+
PAGED_CODE();
/* Verify that the handle is valid and is a registry key */
ULONG i, Addr;
BOOLEAN InSystem;
PVOID p;
- PLDR_DATA_TABLE_ENTRY LdrEntry;
+
+ /* GCC complaints that it may be used uninitialized */
+ PLDR_DATA_TABLE_ENTRY LdrEntry = NULL;
/* Loop them */
for (i = 0; i < FrameCount; i++)