Skip to content

Commit

Permalink
wmic: Don't write an extra newline at the end.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
  • Loading branch information
Hans Leidekker authored and julliard committed Oct 8, 2018
1 parent a7f0dc0 commit 4628977
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions programs/wmic/main.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4628977

Please sign in to comment.