[PATCH 4/5] wmic: Don't write an extra newline at the end.

Hans Leidekker hans at codeweavers.com
Mon Oct 8 08:53:11 CDT 2018


Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
 programs/wmic/main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/programs/wmic/main.c b/programs/wmic/main.c
index f01aad7702..85b76dea8f 100644
--- a/programs/wmic/main.c
+++ b/programs/wmic/main.c
@@ -177,7 +177,6 @@ static int query_prop( const WCHAR *class, const WCHAR *propname )
     static const WCHAR select_allW[] = {'S','E','L','E','C','T',' ','*',' ','F','R','O','M',' ',0};
     static const WCHAR cimv2W[] = {'R','O','O','T','\\','C','I','M','V','2',0};
     static const WCHAR wqlW[] = {'W','Q','L',0};
-    static const WCHAR newlineW[] = {'\r','\n',0};
     HRESULT hr;
     IWbemLocator *locator = NULL;
     IWbemServices *services = NULL;
@@ -238,7 +237,6 @@ static int query_prop( const WCHAR *class, const WCHAR *propname )
         }
         IWbemClassObject_Release( obj );
     }
-    output_string( GetStdHandle(STD_OUTPUT_HANDLE), newlineW );
     ret = 0;
 
 done:
-- 
2.11.0




More information about the wine-devel mailing list