summaryrefslogtreecommitdiff
path: root/sys-fs/mtpfs/files/mtpfs-1.1-unitialized-variable.patch
blob: f322d4770ab2bc79183cccae68de358851d18279 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/556690
--- a/mtpfs.c	2015-08-04 21:56:13.080712801 +0200
+++ b/mtpfs.c	2015-08-04 21:20:54.822965092 +0200
@@ -1324,7 +1324,7 @@ main (int argc, char *argv[])
     LIBMTP_raw_device_t * rawdevices;
     int numrawdevices;
     LIBMTP_error_number_t err;
-    int i;
+    int i = 0;
 
     int opt;
     extern int optind;