[PATCH] Write event stream in file
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Jun 25 05:22:34 UTC 2019
On 25/06/2019 07:03, Ravindra Kumar Meena wrote:
>
> Do you get compiler warnings with this version?
>
>
> No I didn't get any compiler warning or error.
How did you configure the build? Did you somehow disable the warnings?
[242/254] Compiling misc/record/record-main.c
../misc/record/record-main.c: In function ‘print_item’:
../misc/record/record-main.c:152:14: warning: variable ‘seconds’ set but
not used [-Wunused-but-set-variable]
uint32_t seconds;
^~~~~~~
../misc/record/record-main.c: In function ‘handler’:
../misc/record/record-main.c:161:14: warning: ‘ns’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
ctf_item.ns=ns;
~~~~~~~~~~~^~~
../misc/record/record-main.c:149:12: note: ‘ns’ was declared here
uint32_t ns;
^~
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list