mirror of
https://github.com/corda/corda.git
synced 2025-02-02 01:08:09 +00:00
fix GCC 4.0.1 uninitialized value warning
This commit is contained in:
parent
c479bccdb4
commit
7ce35b212f
@ -47,7 +47,7 @@ makeCodeImage(Thread* t, Zone* zone, BootImage* image, uint8_t* code,
|
|||||||
DelayedPromise* addresses = 0;
|
DelayedPromise* addresses = 0;
|
||||||
|
|
||||||
for (Finder::Iterator it(t->m->finder); it.hasMore();) {
|
for (Finder::Iterator it(t->m->finder); it.hasMore();) {
|
||||||
unsigned nameSize;
|
unsigned nameSize = 0;
|
||||||
const char* name = it.next(&nameSize);
|
const char* name = it.next(&nameSize);
|
||||||
|
|
||||||
if (endsWith(".class", name, nameSize)) {
|
if (endsWith(".class", name, nameSize)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user