mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
QuaZip: change the order of void-casts.
MSVC requires void-casting of unused variables to be done after variable definitions. Change the order, no functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31171 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
16f48e8ebc
commit
6bc8916a58
3 changed files with 11 additions and 11 deletions
|
|
@ -320,9 +320,9 @@ local uLong ziplocal_TmzDateToDosDate(ptm,dosDate)
|
|||
const tm_zip* ptm;
|
||||
uLong dosDate;
|
||||
{
|
||||
(void) dosDate; /* avoid "unused parameter" warning */
|
||||
uLong year = (uLong)ptm->tm_year;
|
||||
if (year>1980)
|
||||
(void) dosDate; /* avoid "unused parameter" warning */
|
||||
if (year>1980)
|
||||
year-=1980;
|
||||
else if (year>80)
|
||||
year-=80;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue