[X2Go-Commits] [nx-libs] 14/19: ChannelEndPoint.cpp: remove	unneccessary code
    git-admin at x2go.org 
    git-admin at x2go.org
       
    Sat Dec 30 03:35:16 CET 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 17d045826ba98a55696cc56ebf6b56c811bf5392
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Wed Dec 27 19:15:23 2017 +0100
    ChannelEndPoint.cpp: remove unneccessary code
    
    SAFE_FREE has set defaultUnixPath_ to NULL already
---
 nxcomp/src/ChannelEndPoint.cpp | 2 --
 1 file changed, 2 deletions(-)
diff --git a/nxcomp/src/ChannelEndPoint.cpp b/nxcomp/src/ChannelEndPoint.cpp
index de88183..443c0f2 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();
 }
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
    
    
More information about the x2go-commits
mailing list