Commit 17d04582 authored by Ulrich Sibiller's avatar Ulrich Sibiller

ChannelEndPoint.cpp: remove unneccessary code

SAFE_FREE has set defaultUnixPath_ to NULL already
parent eae64c4a
...@@ -180,8 +180,6 @@ ChannelEndPoint::setDefaultUnixPath(char *path) { ...@@ -180,8 +180,6 @@ ChannelEndPoint::setDefaultUnixPath(char *path) {
if (path && strlen(path)) if (path && strlen(path))
defaultUnixPath_ = strdup(path); defaultUnixPath_ = strdup(path);
else
defaultUnixPath_ = NULL;
isUnix_ = getUnixPath(); isUnix_ = getUnixPath();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment