projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b790c47
)
Re: Add --unicode option
author
Alan Modra
<amodra@gmail.com>
Tue, 9 Nov 2021 23:56:10 +0000
(10:26 +1030)
committer
Alan Modra
<amodra@gmail.com>
Wed, 10 Nov 2021 00:02:11 +0000
(10:32 +1030)
At low optimisation levels gcc may warn.
* strings.c (print_unicode_stream_body): Avoid bogus "may be
used unitialised" warning.
binutils/strings.c
patch
|
blob
|
history
diff --git
a/binutils/strings.c
b/binutils/strings.c
index f50badf983e897136937478f13a45ff91b715ff3..e8649a80d6a7b08b99c8a14e8891c96f063e3934 100644
(file)
--- a/
binutils/strings.c
+++ b/
binutils/strings.c
@@
-924,7
+924,7
@@
print_unicode_stream_body (const char * filename,
uint num_read = 0;
uint num_chars = 0;
uint num_print = 0;
- int c;
+ int c
= 0
;
/* Find a series of string_min characters. Put them into print_buf. */
do