mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[win32] suppress false warning by mingw gcc
This commit is contained in:
parent
364526cd70
commit
5bb80b76b0
2 changed files with 2 additions and 2 deletions
|
@ -561,7 +561,7 @@ BSD_vfprintf(FILE *fp, const char *fmt0, va_list ap)
|
|||
int fprec = 0; /* floating point precision */
|
||||
char expstr[7]; /* buffer for exponent string */
|
||||
#endif
|
||||
u_long MAYBE_UNUSED(ulval); /* integer arguments %[diouxX] */
|
||||
u_long MAYBE_UNUSED(ulval) = 0; /* integer arguments %[diouxX] */
|
||||
#ifdef _HAVE_SANE_QUAD_
|
||||
u_quad_t MAYBE_UNUSED(uqval); /* %q integers */
|
||||
#endif /* _HAVE_SANE_QUAD_ */
|
||||
|
|
|
@ -5271,7 +5271,7 @@ static int
|
|||
wrename(const WCHAR *oldpath, const WCHAR *newpath)
|
||||
{
|
||||
int res = 0;
|
||||
DWORD oldatts, newatts = (DWORD)-1;
|
||||
DWORD oldatts = 0, newatts = (DWORD)-1;
|
||||
DWORD oldvsn = 0, newvsn = 0, e;
|
||||
|
||||
e = get_attr_vsn(oldpath, &oldatts, &oldvsn);
|
||||
|
|
Loading…
Reference in a new issue