Added { } to suppress egcs warnings.

This commit is contained in:
Paul Slootman 1999-11-03 16:13:36 +00:00
parent d6425cec81
commit 88b686899b
2 changed files with 10 additions and 2 deletions

View File

@ -19,6 +19,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.19 1998/05/20 12:22:15 paul
* More paranoid about freeing pointers.
*
* Revision 1.18 1998/05/20 09:56:14 paul
* Oops, the temp string _was_ necessary. Made it static so that returning a
* pointer to it is not a problem.
@ -798,11 +801,12 @@ static int Compare_Sections(section* sec1, section *sec2, char **variables)
found2++;
if ((++Cnt)%width == 0)
{
if(found1 == 0)
found2 = 0;
else
exist = 0;
}
if (array != NULL)
{
del_Array(array);

View File

@ -18,6 +18,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.9 1998/10/18 20:13:51 luethje
* isdnlog: Added the switch -K
*
* Revision 1.8 1998/10/13 22:17:22 luethje
* isdnlog: evaluate the variable PATH for program starts.
*
@ -709,11 +712,12 @@ const char *Pathfind(const char *path, const char *name, char *mode)
}
if (strchr(name,C_SLASH) != NULL)
{
if (!access(name,_mode))
return name;
else
return NULL;
}
if (path == NULL)
{
if ((ptr = getenv(PATH_ENV)) == NULL)