From 4ae0d21a9ce95e9e2cd514a10c962fd81ac2f2b4 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Tue, 6 Aug 2013 01:25:27 +0000 Subject: [PATCH] [SACDRV]: Great job GCC at not realizing a variable was not initialized. svn path=/trunk/; revision=59651 --- reactos/drivers/sac/driver/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/drivers/sac/driver/util.c b/reactos/drivers/sac/driver/util.c index f536915e23f..32daaac3bc3 100644 --- a/reactos/drivers/sac/driver/util.c +++ b/reactos/drivers/sac/driver/util.c @@ -133,6 +133,7 @@ PreloadGlobalMessageTable(IN PVOID ImageBase) if (GlobalMessageTable) goto Exit; /* Loop through up to 200 messages */ + TotalLength = 0; for (MessageId = 1; MessageId != SAC_MAX_MESSAGES; MessageId++) { /* Find this message ID in the string table*/