<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Do you get compiler warnings with this version?<br>
> <br>
> <br>
> No I didn't get any compiler warning or error.<br>
<br>
How did you configure the build? Did you somehow disable the warnings?</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
[242/254] Compiling misc/record/record-main.c<br>
../misc/record/record-main.c: In function ‘print_item’:<br>
../misc/record/record-main.c:152:14: warning: variable ‘seconds’ set but <br>
not used [-Wunused-but-set-variable]<br>
uint32_t seconds;<br>
^~~~~~~<br>
../misc/record/record-main.c: In function ‘handler’:<br>
../misc/record/record-main.c:161:14: warning: ‘ns’ may be used <br>
uninitialized in this function [-Wmaybe-uninitialized]<br>
ctf_item.ns=ns;<br>
~~~~~~~~~~~^~~<br>
../misc/record/record-main.c:149:12: note: ‘ns’ was declared here<br>
uint32_t ns;<br>
^~<br></blockquote><div>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.</div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div></div>