<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt></tt> 
<br><tt>Hello Oda-san,</tt>
<p><tt>I just noticed this warning message when compiling xen_hyper_command.c</tt>
<br><tt>with gcc 4.1.1:</tt>
<p><tt>$ make warn</tt>
<br><tt>...</tt>
<br><tt>cc -c -g -DX86 -D_FILE_OFFSET_BITS=64 xen_hyper_command.c -Wall
-Wstrict-prototypes -Wmissing-prototypes</tt>
<br><tt>xen_hyper_command.c: In function show_xen_hyper_dumpinfo:</tt>
<br><tt>xen_hyper_command.c:426: warning: value computed is not used</tt>
<br><tt>...</tt>
<br><tt>$</tt><tt></tt>
<p><tt>Here is the code it is referring to:</tt><tt></tt>
<p><tt>   424   addr = (ulong)note_buf +</tt>
<br><tt>   425    XEN_HYPER_OFFSET(ELF_Prstatus_pr_utime);</tt>
<br><tt>   <b>426   for (i = 0; i < 4; i++, addr+XEN_HYPER_SIZE(ELF_Timeval))
{</b></tt><tt></tt>
<p><tt>I'm presuming that it should be: "addr+=XEN_HYPER_SIZE(ELF_Timeval)?</tt><tt></tt>
<p><tt>Dave</tt>
<br><tt></tt> 
<br><tt></tt> </html>