mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
Fixes for gcc4.x.
Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> PR: bin/84991
This commit is contained in:
parent
7e994955ac
commit
8a0a76b862
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149453
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user