[PATCH] Write event stream in file
Ravindra Kumar Meena
rmeena840 at gmail.com
Tue Jun 25 08:49:22 UTC 2019
>
> > [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;
> > ^~
> >
> > Okay. I also got these warnings after reconfiguring again. This can be
> > resolved if we remove the if block. I think there is no need for it now.
>
> No, sorry, please fix these warnings immediately. Warnings about
> uninitialized variables are very likely a hard error.
>
Okay. I have resolved the issue.
https://github.com/rmeena840/rtems-tools/commit/23aeaa0251e89822ac24108f3d0c34af36b610fb
Have a look.
--
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190625/5d6a8b85/attachment-0002.html>
More information about the devel
mailing list