misc/vlm.c: In function 'vlm_MediaControl':<br>WARNING : misc/vlm.c: 1264: unused variable 'val'<br>----------------------------------------------------------------------------<br><br>if( !strcmp( psz_command, "seek" ) )<br>
{<br> //vlc_value_t val;<br><br> if( psz_args )<br> {<br> vlc_bool_t i_rel;<br> float f_value = i18n_atof( psz_args );<br> if( psz_args[0] == '+' || psz_args[0] == '-' )<br>
i_rel = VLC_TRUE;<br> else<br> i_rel = VLC_FALSE;<br> if( strstr( psz_args, "ms" ) )<br> {<br> /* milliseconds */<br> int64_t i_msec = 1000 * (int64_t)atoi( psz_args );<br>
if( i_rel )<br> {<br> var_SetTime( p_instance->p_input, "time-offset", i_msec );<br> }<br> else if( i_msec >= 0<br> && i_msec < var_GetTime( p_instance->p_input, "length" ) )<br>
{<br> var_SetTime( p_instance->p_input, "time", i_msec );<br> }<br> }<br> else if( strchr( psz_args, 's' ) )<br> {<br> /* seconds */<br>
int64_t i_sec = 1000000 * (int64_t)atoi( psz_args );<br> if( i_rel )<br> {<br> var_SetTime( p_instance->p_input, "time-offset", i_sec );<br> }<br>
else if( i_sec >= 0<br> && i_sec < var_GetTime( p_instance->p_input, "length" ) )<br> {<br> var_SetTime( p_instance->p_input, "time", i_sec );<br>
}<br> }<br> else<br> {<br> /* percentage */<br> f_value /= 100.;<br> if( i_rel )<br> {<br> float f_orig = var_GetFloat( p_instance->p_input, "position" );<br>
f_value += f_orig;<br> }<br> if( f_value >= 0.0 && f_value <= 1.0 )<br> {<br> var_SetFloat( p_instance->p_input, "position", f_value );<br>
return VLC_SUCCESS;<br> }<br> }<br> }<br> }<br><br><br>Dear Sir, <br><br>This is a simple warning fix, I found many warnings on Fedora 6 platform and will show the patches very soon. will you accept such warning fixes as the proof of compilation? <br>
<br>I have submitted the application for the project 'bluetooth remote controller' to the GSoC. I am late to submit the patches and application due to my university examination that was upto 28th March.<br><br>Please reply...<br clear="all">
<br>-- <br>Regards<br>Ibraheem