fd needs to be initialized in order to compile (#150)

Co-authored-by: akuker <akuker@gmail.com>
This commit is contained in:
akuker 2021-07-23 19:30:56 -05:00 committed by GitHub
parent 863feed611
commit 55ec2291ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ using namespace rascsi_interface;
//---------------------------------------------------------------------------
int SendCommand(const string& hostname, const PbCommand& command)
{
int fd;
int fd = -1;
try {
struct hostent *host = gethostbyname(hostname.c_str());