Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
071a71a8
Commit
071a71a8
authored
Jul 15, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Remove unused parameter in pf_integer_conv.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
704d0662
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
printf.h
dlls/msvcrt/printf.h
+9
-10
No files found.
dlls/msvcrt/printf.h
View file @
071a71a8
...
...
@@ -514,8 +514,7 @@ static inline int FUNC_NAME(pf_output_hex_fp)(FUNC_NAME(puts_clbk) pf_puts, void
/* pf_integer_conv: prints x to buf, including alternate formats and
additional precision digits, but not field characters or the sign */
static
inline
void
FUNC_NAME
(
pf_integer_conv
)(
APICHAR
*
buf
,
int
buf_len
,
pf_flags
*
flags
,
LONGLONG
x
)
static
inline
void
FUNC_NAME
(
pf_integer_conv
)(
APICHAR
*
buf
,
pf_flags
*
flags
,
LONGLONG
x
)
{
unsigned
int
base
;
const
char
*
digits
;
...
...
@@ -783,7 +782,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu
limb_len
=
LIMB_DIGITS
;
}
radix_pos
-=
f
.
Precision
;
FUNC_NAME
(
pf_integer_conv
)(
buf
,
ARRAY_SIZE
(
buf
),
&
f
,
l
);
FUNC_NAME
(
pf_integer_conv
)(
buf
,
&
f
,
l
);
r
=
pf_puts
(
puts_ctx
,
f
.
Precision
,
buf
);
if
(
r
<
0
)
return
r
;
...
...
@@ -824,7 +823,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu
limb_len
=
LIMB_DIGITS
;
}
prec
-=
f
.
Precision
;
FUNC_NAME
(
pf_integer_conv
)(
buf
,
ARRAY_SIZE
(
buf
),
&
f
,
l
);
FUNC_NAME
(
pf_integer_conv
)(
buf
,
&
f
,
l
);
r
=
pf_puts
(
puts_ctx
,
f
.
Precision
,
buf
);
if
(
r
<
0
)
return
r
;
...
...
@@ -870,7 +869,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu
limb_len
=
LIMB_DIGITS
;
}
prec
-=
f
.
Precision
;
FUNC_NAME
(
pf_integer_conv
)(
buf
,
ARRAY_SIZE
(
buf
),
&
f
,
l
);
FUNC_NAME
(
pf_integer_conv
)(
buf
,
&
f
,
l
);
r
=
pf_puts
(
puts_ctx
,
f
.
Precision
,
buf
);
if
(
r
<
0
)
return
r
;
...
...
@@ -892,7 +891,7 @@ static inline int FUNC_NAME(pf_output_fp)(FUNC_NAME(puts_clbk) pf_puts, void *pu
ret
+=
r
;
f
.
Precision
=
three_digit_exp
?
3
:
2
;
FUNC_NAME
(
pf_integer_conv
)(
buf
,
ARRAY_SIZE
(
buf
),
&
f
,
radix_pos
);
FUNC_NAME
(
pf_integer_conv
)(
buf
,
&
f
,
radix_pos
);
r
=
pf_puts
(
puts_ctx
,
f
.
Precision
,
buf
);
if
(
r
<
0
)
return
r
;
ret
+=
r
;
...
...
@@ -1068,7 +1067,7 @@ int FUNC_NAME(pf_printf)(FUNC_NAME(puts_clbk) pf_puts, void *puts_ctx, const API
flags
.
PadZero
=
TRUE
;
i
=
flags
.
Precision
;
flags
.
Precision
=
2
*
sizeof
(
void
*
);
FUNC_NAME
(
pf_integer_conv
)(
buf
,
ARRAY_SIZE
(
buf
),
&
flags
,
FUNC_NAME
(
pf_integer_conv
)(
buf
,
&
flags
,
(
ULONG_PTR
)
pf_args
(
args_ctx
,
pos
,
VT_PTR
,
valist
).
get_ptr
);
flags
.
PadZero
=
FALSE
;
flags
.
Precision
=
i
;
...
...
@@ -1105,15 +1104,15 @@ int FUNC_NAME(pf_printf)(FUNC_NAME(puts_clbk) pf_puts, void *puts_ctx, const API
return
-
1
;
if
(
flags
.
IntegerDouble
||
(
flags
.
IntegerNative
&&
sizeof
(
void
*
)
==
8
))
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
max_len
,
&
flags
,
pf_args
(
args_ctx
,
pos
,
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
&
flags
,
pf_args
(
args_ctx
,
pos
,
VT_I8
,
valist
).
get_longlong
);
else
if
(
flags
.
Format
==
'd'
||
flags
.
Format
==
'i'
)
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
max_len
,
&
flags
,
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
&
flags
,
flags
.
IntegerLength
!=
LEN_SHORT
?
pf_args
(
args_ctx
,
pos
,
VT_INT
,
valist
).
get_int
:
(
short
)
pf_args
(
args_ctx
,
pos
,
VT_INT
,
valist
).
get_int
);
else
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
max_len
,
&
flags
,
FUNC_NAME
(
pf_integer_conv
)(
tmp
,
&
flags
,
flags
.
IntegerLength
!=
LEN_SHORT
?
(
unsigned
)
pf_args
(
args_ctx
,
pos
,
VT_INT
,
valist
).
get_int
:
(
unsigned
short
)
pf_args
(
args_ctx
,
pos
,
VT_INT
,
valist
).
get_int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment