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

Pavel Grunt pgrunt at redhat.com
Wed May 4 12:57:20 UTC 2016


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]);
     }
 
-- 
2.8.2



More information about the Spice-devel mailing list