From 76c795a966c50453646841471aad0e1ed345fc23 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Tue, 4 Oct 2016 04:01:06 +0300 Subject: [PATCH] Whoops. --- Core/camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/camera.c b/Core/camera.c index 4e1d3b6e..5a087d25 100644 --- a/Core/camera.c +++ b/Core/camera.c @@ -9,7 +9,7 @@ static uint8_t generate_noise(uint8_t x, uint8_t y) { int value = (x + y * 128 + noise_seed); uint8_t *data = (uint8_t *) &value; - unsigned hash; + unsigned hash = 0; while ((int *) data != &value + 1) { hash ^= (*data << 8);