apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1858338 - /apr/apr/trunk/file_io/win32/filestat.c
Date Sun, 28 Apr 2019 19:30:11 GMT
Author: ivan
Date: Sun Apr 28 19:30:11 2019
New Revision: 1858338

URL: http://svn.apache.org/viewvc?rev=1858338&view=rev
Log:
* file_io/win32/filestat.c
  (more_finfo): Reduce scope of local variable. No functional changes.

Modified:
    apr/apr/trunk/file_io/win32/filestat.c

Modified: apr/apr/trunk/file_io/win32/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/filestat.c?rev=1858338&r1=1858337&r2=1858338&view=diff
==============================================================================
--- apr/apr/trunk/file_io/win32/filestat.c (original)
+++ apr/apr/trunk/file_io/win32/filestat.c Sun Apr 28 19:30:11 2019
@@ -361,7 +361,6 @@ apr_status_t more_finfo(apr_finfo_t *fin
     if ((apr_os_level >= APR_WIN_2000) && (wanted & APR_FINFO_CSIZE)
                                        && (finfo->filetype == APR_REG))
     {
-        DWORD sizelo, sizehi;
         if (whatfile == MORE_OF_HANDLE) {
             /* Not available for development and implementation under
              * a reasonable license; if you review the licensing
@@ -379,6 +378,8 @@ apr_status_t more_finfo(apr_finfo_t *fin
             }
         }
         else {
+            DWORD sizelo, sizehi;
+
             SetLastError(NO_ERROR);
             if (whatfile == MORE_OF_WFSPEC)
                 sizelo = GetCompressedFileSizeW((apr_wchar_t*)ufile, &sizehi);



Mime
View raw message