]> git.pld-linux.org Git - packages/iproute2.git/blobdiff - iproute2-build.patch
- with agressive opts: iplink_can.c:116:33: error: 'sp' may be used uninitialized...
[packages/iproute2.git] / iproute2-build.patch
diff --git a/iproute2-build.patch b/iproute2-build.patch
new file mode 100644 (file)
index 0000000..36452cf
--- /dev/null
@@ -0,0 +1,11 @@
+--- iproute2-3.8.0/ip/iplink_can.c~    2013-02-21 17:41:20.000000000 +0100
++++ iproute2-3.8.0/ip/iplink_can.c     2013-03-05 22:03:13.578484638 +0100
+@@ -107,7 +107,7 @@
+                       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))
This page took 0.029119 seconds and 4 git commands to generate.