Index: /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp	(revision 58287)
+++ /trunk/src/VBox/Runtime/r3/win/localipc-win.cpp	(revision 58288)
@@ -805,9 +805,5 @@
             pThis->cRefs++;
 
-            /*
-             * If pcbRead is non-NULL this indicates the maximum number of bytes to read.
-             * If pcbRead is NULL then this is the exact number of bytes to read.
-             */
-            size_t cbToRead = pcbRead ? *pcbRead : cbBuffer;
+            size_t cbToRead = cbBuffer;
             size_t cbTotalRead = 0;
             while (cbToRead > 0)
