Fixes for gcc4.x.

Submitted by:   Divacky Roman <xdivac02@stud.fit.vutbr.cz>
PR:             bin/84991
This commit is contained in:
Ollivier Robert 2005-08-25 13:44:02 +00:00
parent 7e994955ac
commit 8a0a76b862
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149453
2 changed files with 2 additions and 1 deletions

View File

@ -818,7 +818,7 @@ f_fstype(PLAN *plan, FTSENT *entry)
static int first = 1;
struct statfs sb;
static int val_type, val_flags;
char *p, save[2];
char *p, save[2] = {0,0};
if ((plan->flags & F_MTMASK) == F_MTUNKNOWN)
return 0;

View File

@ -857,6 +857,7 @@ get_date(char *p, struct timeb *now)
time_t tod;
time_t nowtime;
bzero (&gmt, sizeof(struct tm));
yyInput = p;
if (now == NULL) {
struct tm *gmt_ptr;