summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-ip_iplink_can_c
blob: 6201f070f68dce32a32f507646cb841d90f8e2b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- iproute2-4.1.0.orig/ip/iplink_can.c	2015-06-26 21:28:25.000000000 +0200
+++ iproute2-4.1.0/ip/iplink_can.c	2015-06-29 08:45:24.000000000 +0200
@@ -123,7 +123,7 @@ static int can_parse_opt(struct link_uti
 			if (get_u32(&bt.bitrate, *argv, 0))
 				invarg("invalid \"bitrate\" value\n", *argv);
 		} else if (matches(*argv, "sample-point") == 0) {
-			float sp;
+			float sp = 0;
 
 			NEXT_ARG();
 			if (get_float(&sp, *argv))