Author: tfaber
Date: Sat Jul 13 06:31:13 2013
New Revision: 59463
URL: 
http://svn.reactos.org/svn/reactos?rev=59463&view=rev
Log:
[KMTESTS:RTL]
- Fix a warning
Modified:
    trunk/rostests/kmtests/rtl/RtlException.c
Modified: trunk/rostests/kmtests/rtl/RtlException.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/rtl/RtlException.…
==============================================================================
--- trunk/rostests/kmtests/rtl/RtlException.c   [iso-8859-1] (original)
+++ trunk/rostests/kmtests/rtl/RtlException.c   [iso-8859-1] Sat Jul 13 06:31:13 2013
@@ -11,7 +11,6 @@
 {
     NTSTATUS ExceptionStatus;
     PCHAR Buffer[128];
-    CHAR Value;
     /* Access a valid pointer - must not trigger SEH */
     KmtStartSeh()
@@ -20,7 +19,7 @@
     /* Read from a NULL pointer - must cause an access violation */
     KmtStartSeh()
-        Value = *(volatile CHAR *)NULL;
+        (void)*(volatile CHAR *)NULL;
     KmtEndSeh(STATUS_ACCESS_VIOLATION);
     /* Write to a NULL pointer - must cause an access violation */
@@ -32,7 +31,7 @@
 #if 0 //def KMT_KERNEL_MODE
     /* Read from MmBadPointer - must cause an access violation */
     KmtStartSeh()
-        Value = *(volatile CHAR *)MmBadPointer;
+        (void)*(volatile CHAR *)MmBadPointer;
     KmtEndSeh(STATUS_ACCESS_VIOLATION);
     /* Write to MmBadPointer - must cause an access violation */