Skip to content

fix ubuntu18.04 build error#10

Open
funnywwh wants to merge 1 commit intoj0sh:centosinitfrom
funnywwh:centosinit
Open

fix ubuntu18.04 build error#10
funnywwh wants to merge 1 commit intoj0sh:centosinitfrom
funnywwh:centosinit

Conversation

@funnywwh
Copy link

crtmpserver/sources/common/src/platform/baseplatform.cpp:72:7: error: unused variable ‘err’ [-Werror=unused-variable]
int err = errno;
^~~
crtmpserver/sources/common/src/platform/baseplatform.cpp: In function ‘bool setFdCloseOnExec(int)’:
github/crtmpserver/sources/common/src/platform/baseplatform.cpp:86:7: error: unused variable ‘err’ [-Werror=unused-variable]
int err = errno;

crtmpserver/sources/common/src/platform/baseplatform.cpp:72:7: error: unused variable ‘err’ [-Werror=unused-variable]
   int err = errno;
       ^~~
crtmpserver/sources/common/src/platform/baseplatform.cpp: In function ‘bool setFdCloseOnExec(int)’:
github/crtmpserver/sources/common/src/platform/baseplatform.cpp:86:7: error: unused variable ‘err’ [-Werror=unused-variable]
   int err = errno;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant