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

Jonathon Jongsma jjongsma at redhat.com
Wed May 4 14:54:58 UTC 2016


Both patches look fine to me.


On Wed, 2016-05-04 at 14:57 +0200, Pavel Grunt wrote:
> Spotted by coverity
> ---
>  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