Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4fb7a0e4
Commit
4fb7a0e4
authored
Oct 17, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Oct 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Remove printf format strings that aren't really format strings.
parent
40e90aae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
typegen.c
tools/widl/typegen.c
+2
-2
widl.c
tools/widl/widl.c
+3
-3
No files found.
tools/widl/typegen.c
View file @
4fb7a0e4
...
...
@@ -2501,7 +2501,7 @@ void print_phase_basetype(FILE *file, int indent, enum remoting_phase phase,
fprintf
(
file
,
" *)_StubMsg.Buffer = *"
);
else
fprintf
(
file
,
" *)_StubMsg.Buffer = "
);
fprintf
(
file
,
varname
);
fprintf
(
file
,
"%s"
,
varname
);
fprintf
(
file
,
";
\n
"
);
}
else
if
(
phase
==
PHASE_UNMARSHAL
)
...
...
@@ -2510,7 +2510,7 @@ void print_phase_basetype(FILE *file, int indent, enum remoting_phase phase,
print_file
(
file
,
indent
,
""
);
else
print_file
(
file
,
indent
,
"*"
);
fprintf
(
file
,
varname
);
fprintf
(
file
,
"%s"
,
varname
);
if
(
pass
==
PASS_IN
&&
is_ptr
(
type
))
fprintf
(
file
,
" = ("
);
else
...
...
tools/widl/widl.c
View file @
4fb7a0e4
...
...
@@ -422,13 +422,13 @@ int main(int argc,char *argv[])
idfile_name
=
xstrdup
(
optarg
);
break
;
case
'V'
:
printf
(
version_string
);
printf
(
"%s"
,
version_string
);
return
0
;
case
'W'
:
pedantic
=
1
;
break
;
default:
fprintf
(
stderr
,
usage
);
fprintf
(
stderr
,
"%s"
,
usage
);
return
1
;
}
}
...
...
@@ -458,7 +458,7 @@ int main(int argc,char *argv[])
input_name
=
xstrdup
(
argv
[
optind
]);
}
else
{
fprintf
(
stderr
,
usage
);
fprintf
(
stderr
,
"%s"
,
usage
);
return
1
;
}
...
...
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