summaryrefslogtreecommitdiff
path: root/main/mtools/fix-uninitialized.patch
blob: 5984d5da3ac6e126aab51e133ad285cc7433222f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/init.c b/init.c
index af154b7..4040018 100644
--- a/init.c
+++ b/init.c
@@ -156,7 +156,7 @@ static Stream_t *try_device(struct device *dev,
 #endif
 	
 	for(retry_write=0; retry_write<2; retry_write++) {
-		Stream_t *Stream;
+		Stream_t *Stream = NULL;
 		int r;
 		int geomFailure=0;
 		if(retry_write)