mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +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;
|
||||
|
||||
for (Finder::Iterator it(t->m->finder); it.hasMore();) {
|
||||
unsigned nameSize;
|
||||
unsigned nameSize = 0;
|
||||
const char* name = it.next(&nameSize);
|
||||
|
||||
if (endsWith(".class", name, nameSize)) {
|
||||
|
Loading…
Reference in New Issue
Block a user