Module: wine Branch: master Commit: 462897797992ca58a06531f760a209f1658b8eea URL: https://source.winehq.org/git/wine.git/?a=commit;h=462897797992ca58a06531f76...
Author: Hans Leidekker hans@codeweavers.com Date: Mon Oct 8 15:53:11 2018 +0200
wmic: Don't write an extra newline at the end.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
programs/wmic/main.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/programs/wmic/main.c b/programs/wmic/main.c index f01aad7..85b76de 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: