Fix uninitialized variable

This commit is contained in:
Mathieu Maret 2023-03-21 23:41:23 +01:00 committed by Mathieu Maret
parent 6580bb08ba
commit 44fa5967dd
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
uaddr_t loadElfProg(const char *prog, struct process * proc)
{
int i;
uaddr_t lastUserAddr;
uaddr_t lastUserAddr = 0;
/**
* Typedefs, constants and structure definitions as given by the ELF