[RXCE]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 10 Jun 2017 20:28:25 +0000 (20:28 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 10 Jun 2017 20:28:25 +0000 (20:28 +0000)
Misc. fixes.

CID 141191814119291411919

svn path=/trunk/; revision=74985

reactos/sdk/lib/drivers/rxce/rxce.c

index c1d6115..f466780 100644 (file)
@@ -2931,7 +2931,7 @@ RxFinishFcbInitialization(
     {
         /* If our FCB newly points to a file, initiliaz everything related */
         if (FileType == RDBSS_NTC_STORAGE_TYPE_FILE &&
-            !OldType != RDBSS_NTC_STORAGE_TYPE_FILE)
+            OldType != RDBSS_NTC_STORAGE_TYPE_FILE)
         {
             RxInitializeLowIoPerFcbInfo(&((PFCB)Fcb)->Specific.Fcb.LowIoPerFcbInfo);
             FsRtlInitializeFileLock(&((PFCB)Fcb)->Specific.Fcb.FileLock, &RxLockOperationCompletion,
@@ -3417,7 +3417,7 @@ RxInitializeLowIoContext(
     PAGED_CODE();
 
     RxContext = CONTAINING_RECORD(LowIoContext, RX_CONTEXT, LowIoContext);
-    ASSERT(LowIoContext = &RxContext->LowIoContext);
+    ASSERT(LowIoContext == &RxContext->LowIoContext);
 
     Stack = RxContext->CurrentIrpSp;