[Spice-devel] [PATCH spice-html5 1/2] filexfer: Remove wrongly placed semicolon

Jeremy White jwhite at codeweavers.com
Wed May 4 15:23:19 UTC 2016


On 05/04/2016 07:57 AM, Pavel Grunt wrote:
> Spotted by coverity

Tested, acked, and pushed.

Thanks,

Jeremy

> ---
>  filexfer.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/filexfer.js b/filexfer.js
> index beabfd8..d850db2 100644
> --- a/filexfer.js
> +++ b/filexfer.js
> @@ -81,7 +81,7 @@ function handle_file_drop(e)
>      e.preventDefault();
>      for (var i = files.length - 1; i >= 0; i--)
>      {
> -        if (files[i].type); // do not copy a directory
> +        if (files[i].type) // do not copy a directory
>              sc.file_xfer_start(files[i]);
>      }
>  
> 



More information about the Spice-devel mailing list