remove dead code

This commit is contained in:
Richard Frith-Macdonald 2018-02-05 13:21:15 +00:00
parent 0d6d01bc00
commit 29c3dea2b1
2 changed files with 2 additions and 11 deletions

View file

@ -5,6 +5,7 @@
* Source/NSUnarchiver.m: Remove redundant (always true) conditional.
* Source/NSPropertyList.m: Remove dead code
* Source/NSDecimal.m: Remove dead code
* Tools/gdnc.m: Remove dead code
2018-02-04 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -467,17 +467,7 @@ ihandler(int sig)
{
service = GDNC_SERVICE;
ns = [NSSocketPortNameServer sharedInstance];
if (isLocal == YES)
{
port = (NSPort*)[NSSocketPort portWithNumber: 0
onHost: [NSHost localHost]
forceAddress: @"127.0.0.1"
listener: YES];
}
else
{
port = (NSPort*)[NSSocketPort port];
}
port = (NSPort*)[NSSocketPort port];
}
else
{