mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
remove dead code
This commit is contained in:
parent
0d6d01bc00
commit
29c3dea2b1
2 changed files with 2 additions and 11 deletions
|
@ -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>
|
||||
|
||||
|
|
12
Tools/gdnc.m
12
Tools/gdnc.m
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue