mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Insignificant tidyups ... avoid unneccessarily deep indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21798 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
66d239f2de
commit
0d8d221bd0
1 changed files with 116 additions and 112 deletions
|
@ -359,10 +359,13 @@ GSOnceFLog(@"Use of '~' in GNUSTEP_USER_ROOT is deprecated");
|
|||
/* Initialise all things required by this module */
|
||||
static void InitialisePathUtilities(void)
|
||||
{
|
||||
if (gnustepSystemRoot == nil)
|
||||
{
|
||||
NSDictionary *env;
|
||||
|
||||
if (gnustepSystemRoot != nil)
|
||||
{
|
||||
return; // Protect from multiple calls
|
||||
}
|
||||
|
||||
/* Set up our root paths */
|
||||
NS_DURING
|
||||
{
|
||||
|
@ -499,7 +502,6 @@ static void InitialisePathUtilities(void)
|
|||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -608,8 +610,10 @@ GSReadStepConfFile(NSString *fileName)
|
|||
val = [val stringByTrimmingSpaces];
|
||||
|
||||
if ([key length] > 0)
|
||||
{
|
||||
[dict setObject: val forKey: key];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
key = [line stringByTrimmingSpaces];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue