Author: ion
Date: Tue Aug 6 01:25:27 2013
New Revision: 59651
URL: http://svn.reactos.org/svn/reactos?rev=59651&view=rev
Log:
[SACDRV]: Great job GCC at not realizing a variable was not initialized.
Modified:
trunk/reactos/drivers/sac/driver/util.c
Modified: trunk/reactos/drivers/sac/driver/util.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/sac/driver/util.c?…
==============================================================================
--- trunk/reactos/drivers/sac/driver/util.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/sac/driver/util.c [iso-8859-1] Tue Aug 6 01:25:27 2013
@@ -133,6 +133,7 @@
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*/