From 17d045826ba98a55696cc56ebf6b56c811bf5392 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 27 Dec 2017 19:15:23 +0100 Subject: ChannelEndPoint.cpp: remove unneccessary code SAFE_FREE has set defaultUnixPath_ to NULL already --- nxcomp/src/ChannelEndPoint.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'nxcomp') diff --git a/nxcomp/src/ChannelEndPoint.cpp b/nxcomp/src/ChannelEndPoint.cpp index de881835c..443c0f290 100644 --- a/nxcomp/src/ChannelEndPoint.cpp +++ b/nxcomp/src/ChannelEndPoint.cpp @@ -180,8 +180,6 @@ ChannelEndPoint::setDefaultUnixPath(char *path) { if (path && strlen(path)) defaultUnixPath_ = strdup(path); - else - defaultUnixPath_ = NULL; isUnix_ = getUnixPath(); } -- cgit v1.2.3