[KMTEST]
authorAleksey Bragin <aleksey@reactos.org>
Sat, 8 Jun 2013 10:31:39 +0000 (10:31 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 8 Jun 2013 10:31:39 +0000 (10:31 +0000)
- Fix variable declaration placement.

svn path=/trunk/; revision=59189

rostests/kmtests/ntos_ke/KeDevQueue.c

index 59a6407..66b9fe8 100644 (file)
@@ -75,6 +75,7 @@ void Tests_Insert_And_Delete()
     PKDEVICE_QUEUE_ENTRY element;
     KIRQL OldIrql;
     PKDEVICE_QUEUE_ENTRY* elem_array;
+    PKDEVICE_QUEUE_ENTRY return_value;
     PLIST_ENTRY next;
     ULONG key;
 
@@ -126,8 +127,6 @@ void Tests_Insert_And_Delete()
     trace("******* Testing KeRemoveDeviceQueue **************** \n");
     DPRINT1("\nStart KeRemoveDeviceQueue test\n");
 
-    PKDEVICE_QUEUE_ENTRY return_value;
-
     DPRINT1("Start deleting elements from queue\n");
     for (i = 0; i < INSERT_COUNT; i++) {
         return_value = KeRemoveDeviceQueue(testing_queue);