aboutsummaryrefslogtreecommitdiff
path: root/nxcomp
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-12-27 19:15:23 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-12-29 02:31:26 +0100
commit17d045826ba98a55696cc56ebf6b56c811bf5392 (patch)
tree3622aa042ee89cd33827f138d802b2ec5735c757 /nxcomp
parenteae64c4a4282eb2b511ba11c6db51d00a3b49833 (diff)
downloadnx-libs-17d045826ba98a55696cc56ebf6b56c811bf5392.tar.gz
nx-libs-17d045826ba98a55696cc56ebf6b56c811bf5392.tar.bz2
nx-libs-17d045826ba98a55696cc56ebf6b56c811bf5392.zip
ChannelEndPoint.cpp: remove unneccessary code
SAFE_FREE has set defaultUnixPath_ to NULL already
Diffstat (limited to 'nxcomp')
-rw-r--r--nxcomp/src/ChannelEndPoint.cpp2
1 files changed, 0 insertions, 2 deletions
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();
}