diff options
author | Seppia <seppia@seppio.fish> | 2018-07-05 14:25:19 +0200 |
---|---|---|
committer | Seppia <seppia@seppio.fish> | 2018-07-05 14:25:19 +0200 |
commit | 55c1f44657cc9be36b6e83a48b62d76706252d8e (patch) | |
tree | a0d71bfeef23093df5b7b8c5fa2dd64d8127f3a6 /src | |
parent | d9c0a666055fe951bfad74aea5fd71ecaf55c905 (diff) | |
download | onetimebluh-55c1f44657cc9be36b6e83a48b62d76706252d8e.tar.gz onetimebluh-55c1f44657cc9be36b6e83a48b62d76706252d8e.tar.bz2 onetimebluh-55c1f44657cc9be36b6e83a48b62d76706252d8e.zip |
Missing initialization
Inizialized length variable in readInput function.
Diffstat (limited to 'src')
-rw-r--r-- | src/onetimebluh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onetimebluh.c b/src/onetimebluh.c index 9a05e60..5754fdf 100644 --- a/src/onetimebluh.c +++ b/src/onetimebluh.c @@ -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); |