Łukasz Majewski
93e9371f00
fix: tools: kwbimage.c: Initialize headersz to suppress warning
...
When building with my toolchain (4.8.2):
CROSS_COMPILE=/home/lukma/work/ptxdist/toolchains/arm/OSELAS.Toolchain-2013.12.0/arm-v7a-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v7a-linux-gnueabi-
I see following WARNING:
tools/kwbimage.c: In function "kwbimage_set_header":
tools/kwbimage.c:803:8: warning: "headersz" may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(ptr, image, headersz);
^
This fix aims to suppress it.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
2015-01-10 14:09:55 -05:00
..
2014-12-29 16:31:24 -05:00
2014-02-19 11:07:49 -05:00
2014-11-07 16:27:07 -05:00
2014-02-19 11:07:50 -05:00
2014-01-24 16:59:07 -05:00
2014-05-05 11:21:23 +02:00
2013-07-24 09:44:38 -04:00
2013-06-22 15:25:28 +02:00
2014-11-26 20:25:39 -07:00
2014-02-25 11:01:28 -05:00
2014-11-25 07:11:17 -07:00
2013-12-13 09:15:32 -05:00
2013-10-14 16:06:53 -04:00
2014-05-27 00:10:49 +02:00
2014-05-27 00:10:48 +02:00
2013-07-24 09:44:38 -04:00
2013-08-10 10:48:00 +02:00
2013-12-13 09:15:32 -05:00
2013-12-13 09:15:32 -05:00
2014-06-19 11:19:04 -04:00
2013-07-24 09:44:38 -04:00
2014-03-21 16:40:38 -04:00
2014-06-19 11:19:02 -04:00
2014-06-11 16:25:46 -04:00
2014-06-11 16:25:46 -04:00
2014-06-11 16:25:46 -04:00
2014-08-14 11:20:24 +02:00
2013-07-24 09:44:38 -04:00
2014-09-24 18:30:28 -04:00
2013-07-24 09:44:38 -04:00
2010-01-26 00:07:13 +01:00
2014-04-17 17:24:38 -04:00
2014-04-17 17:24:38 -04:00
2014-04-17 17:24:38 -04:00
2014-12-18 17:26:05 -07:00
2014-12-13 22:32:04 -07:00
2014-08-14 11:20:01 +02:00
2014-10-06 17:38:17 +02:00
2014-10-06 17:38:17 +02:00
2013-10-14 16:06:54 -04:00
2009-11-24 23:43:18 +01:00
2014-11-03 10:33:01 +01:00
2014-09-09 16:23:00 +02:00
2010-07-25 15:17:23 -04:00
2015-01-10 14:09:55 -05:00
2013-07-24 09:44:38 -04:00
2014-10-23 09:59:21 -04:00
2014-12-18 17:26:05 -07:00
2014-12-18 17:26:08 -07:00
2014-12-18 17:26:08 -07:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2014-11-10 16:25:28 -05:00
2013-12-30 16:50:35 +09:00
2014-08-14 11:48:11 +02:00
2014-06-19 11:19:04 -04:00
2014-07-06 17:41:13 +01:00
2013-07-24 09:44:38 -04:00
2013-09-10 19:12:54 +02:00
2014-11-20 10:30:19 +01:00
2014-11-20 10:13:45 +01:00
2009-04-28 01:16:46 +02:00
2012-09-24 13:17:24 -05:00
2014-04-17 17:24:38 -04:00
2014-04-17 17:24:38 -04:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:45:01 -04:00
2014-06-05 14:38:38 -04:00
2014-06-05 14:38:38 -04:00
2014-12-11 09:36:34 -08:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2014-02-13 15:16:47 +01:00
2014-10-27 02:26:24 +01:00
2013-12-13 09:15:32 -05:00
2013-10-14 16:06:53 -04:00
2014-06-19 11:19:04 -04:00
2011-07-31 23:25:41 +09:00