summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-ip_iplink_can_c
blob: aa1b2e0d7f8675f6e796ff02739388acbec59df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- iproute2-3.10.0.orig/ip/iplink_can.c	2013-07-16 19:06:36.000000000 +0200
+++ iproute2-3.10.0/ip/iplink_can.c	2013-08-17 15:08:28.418918323 +0200
@@ -107,7 +107,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))