Skip to content

Commit

Permalink
main.cpp: remove res variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 authored Jun 20, 2018
1 parent 4fdc6f1 commit 980fab8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ void show_usage();

int main()
{
int res = 0;
HRESULT hr = E_FAIL;
DWORD exitCode = 0;
wchar_t **wargv;
Expand Down Expand Up @@ -69,7 +68,7 @@ int main()
int distributionFlags;
LPSTR defaultEnv;
unsigned long defaultEnvCnt;
res = WslGetDistributionConfiguration(TargetName,&distributionVersion,&defaultUID,&distributionFlags,&defaultEnv,&defaultEnvCnt);
WslGetDistributionConfiguration(TargetName,&distributionVersion,&defaultUID,&distributionFlags,&defaultEnv,&defaultEnvCnt);

if(wargc == 1)
{
Expand Down

0 comments on commit 980fab8

Please sign in to comment.