Minor cleanups.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32031 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2011-02-10 10:52:54 +00:00
parent 2edfea16be
commit bc34d0505f
15 changed files with 137 additions and 53 deletions

View file

@ -1307,8 +1307,8 @@ int main (int argc, char** argv, char** env)
HTMLDirectoryEnumerator *e;
NSString *filename;
e = [HTMLDirectoryEnumerator alloc];
e = [e initWithBasePath: arg];
e = [[[HTMLDirectoryEnumerator alloc]
initWithBasePath: arg] autorelease];
[e setReturnsAbsolutePaths: YES];
while ((filename = [e nextObject]) != nil)

View file

@ -2065,7 +2065,7 @@ init_probe()
{
int broadcast = 0;
int elen = 0;
struct in_addr *other;
struct in_addr *other = 0;
struct in_addr sin;
int high = 0;
int low = 0;