xWinProps undefined when ipconfigUSE_TCP_WIN equals 1
@@ -199,7 +199,6 @@ static void prvEchoClientTask( void * pvParameters )
TickType_t xTimeOnEntering;
#if ( ipconfigUSE_TCP_WIN == 1 )
- {
WinProperties_t xWinProps;
/* Fill in the buffer and window sizes that will be used by the socket. */
@@ -207,7 +206,6 @@ static void prvEchoClientTask( void * pvParameters )
xWinProps.lTxWinSize = configECHO_CLIENT_TX_WINDOW_SIZE;
xWinProps.lRxBufSize = ipconfigTCP_RX_BUFFER_LENGTH;
xWinProps.lRxWinSize = configECHO_CLIENT_RX_WINDOW_SIZE;
- }
#endif /* ipconfigUSE_TCP_WIN */
/* This task can be created a number of times. Each instance is numbered
