Commit 55c1f446 authored by Seppia's avatar Seppia

Missing initialization

Inizialized length variable in readInput function.
parent d9c0a666
......@@ -181,7 +181,7 @@ int main (int argc, char* argv[]) {
char* readInput (FILE* stdinput, uint64_t size) {
int64_t character;
uint64_t length;
uint64_t length = 0;
char* input;
input = malloc (sizeof (char) * size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment